Is there a fast way to convert List to a comma-separated string in C#?
List
string
I do it like this but Maybe there is a faster or more
Follow this:
List name = new List(); name.Add("Latif"); name.Add("Ram"); name.Add("Adam"); string nameOfString = (string.Join(",", name.Select(x => x.ToString()).ToArray()));