I have a object model that has ID, Name and Category properties
I have another object model that is an ObservableCollection of my first model
I want to get all the unique categories from my collection using Linq, but I am not sure how to do it...
I was using something like:
var sel = (from i in items
but I am getting a null value from it (there are 1000 test records in the collection all with categories)
New to Linq, so I am not sure what I am doing wrong.