Hi There
I need to find a match of an item in a IQueryable list. I have a list as follows:
IQueryable<EventItem> eventItems = new Queryable<EventItem>();
EventItem eventItem1 = new EventItem("Event 1");
EventItem eventItem2 = new EventItem("Event 2");
eventItems.Add(eventItem1);
eventItems.Add(eventItem2);
I now want to find the event in the list by passing in an EventItem like eventItem2. How do I search and return item something like EventItem found = eventItems.Select(eventItem2);
Cheers,
S