shosho s

shosho s

  • NA
  • 137
  • 99.2k

IList quering using Linq

May 3 2016 9:38 AM
I have an Ilist:
 
IList<Department> dfList = _LookUpProvider.DepartmentLookupAll().OfType<Department>().ToList(); 
 
so this brings the list of the departments. But i want to filter  this list down and create another list
which gets three elements by their ID using Linq.
 
thank you  in advance 

Answers (1)