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

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -