LINQ to Objects - LINQ Learning.com


LINQ to Objects

Resources by common categories

Rating

Linq to Objects ordering by arbitrary number of parameters

Posted by Programmer's Goodies on September 7, 2011

I have a list of Func defining an ordering: var ordering = new List<Func<Person, IComparable>> { x => x.Surname, x => x.FirstName }; I can ord... [read more]

Rating

Linq to Objects ordering by arbitrary number of paramaters

Posted by Programmer's Goodies on September 7, 2011

I have a list of Func defining an ordering: var ordering = new List<Func<Person, IComparable>> { x => x.Surname, x => x.FirstName }; I can ord... [read more]

Rating

putting linq to objects query result into a typed dictionary

Posted by Programmer's Goodies on August 20, 2011

Still kinda new to LINQ. Seems like there should be a more elegant way to do this using ToDictionary, but can’t figure it out. Here’s my code I want to clea... [read more]

Rating
 

Tech Republic Posts a Review of Essential LINQ

Posted by Charlie Calvert on August 29, 2009

On the Tech Republic web site Justin James has written a review of Essential LINQ, the book Dinesh Kulkarni and I wrote about the key features of LINQ such as ... [read more]

Rating

In LINQ to objects, how to set an object property to null if it equals “folder�

Posted by Programmer's Goodies on August 26, 2011

I have a collection of objects representing a folder structure. I’d like to set the property FileExtension to null, if it’s a folder. This is as far as I’... [read more]