c# - Convert List<List> to List -
c# - Convert List<List<string>> to List<string> -
possible duplicate: linq: list of lists long list
i have convert using linq. list<list<string>>
list<string>.
if leaves overlap one. must in 1 line.
input.selectmany(l => l).distinct().tolist();
c# linq
Comments
Post a Comment