list of list of string to list of string c#

53

c# list to string -

using System.Linq;
string str = list.Aggregate((x, y) => x + ',' + y);

list of list of string to list of string c# -

input.SelectMany(l => l).Distinct().ToList();

Comments

Submit
0 Comments