Answers for "how to make a list into a string c#"

C#
9

c# list to string

List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());
Posted by: Guest on May-11-2020
0

list of list of string to list of string c#

input.SelectMany(l => l).Distinct().ToList();
Posted by: Guest on December-07-2021

Code answers related to "how to make a list into a string c#"

C# Answers by Framework

Browse Popular Code Answers by Language