c# - Select distinct items with a specific field in an array -


i have 2 dimensional array ics.each row contains 3 fields category,name,description.i want distinct category array.i had tried this

 var cs = ics.distinct(t => t.category); 

but not working.can 1 give me hand on this?

ics.select(t=>t.category).distinct() 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -