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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -