The term "LINQ to Objects" refers to the use of LINQ queries with any IEnumerable or IEnumerable<T> collection directly, without the use of an intermediate LINQ provider or API such as LINQ to SQL or LINQ to XML.
I have the name of the "sort by property" in a string. I will need to use Lambda/Linq to …
c# linq lambda linq-to-objectsI have a list of orders. I want to select orders based on a set of order statuses. So essentially …
c# linq list linq-to-objects existsI have a class Items with properties (Id, Name, Code, Price). The List of Items is populated with duplicated items. …
c# linq linq-to-objects generic-listI found an example in the VS2008 Examples for Dynamic LINQ that allows you to use a sql-like string (e.…
c# linq linq-to-objectsIf I have a class that looks like: public class Item { public int ClientID { get; set; } public int ID { get; …
c# linq linq-to-objectsI often see people using Where.FirstOrDefault() to do a search and grab the first element. Why not just use …
c# linq linq-to-objectsI've got a list of People that are returned from an external app and I'm creating an exclusion list in …
c# linq list linq-to-objectsSuppose if I add person class instance to list and then I need to query the list using linq. List …
c# linq-to-objectsI have an object: public class Customer { public int ID { get; set; } public string Name { get; set; } public int GroupID { …
c# linq group-by linq-to-objectspublic class ClassA { public string MyString {get; set;} } public class ClassB { public List<ClassA> MyObjects {get; set;} } List&…
c# linq select linq-to-objects