list of list of string to list of string csharp
Code Example - list of list of string to list of string csharp
input.SelectMany(l => l).Distinct().ToList();
csharp list to string
List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());