how to concert a list into strinf splitted by coma csharp

Code Example - how to concert a list into strinf splitted by coma csharp

                
                        string commaSeperatedNumbers = String.Join(",", new List<int> { 1, 2, 3, 4, 5 });