I have a list of class items List<MyClass>
I have a seperate object that is of type MyClass
In my list I have an instance of this item but my where statement fails.
var home = Item.Find(23);
var item = allitems.Where(i => i == home);
item yields no results
allitems.Contains(home)
also fails.
What am I doing wrong?