Linq to Objects ordering by arbitrary number of parameters
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]
Linq to Objects ordering by arbitrary number of paramaters
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]
putting linq to objects query result into a typed dictionary
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]
Tech Republic Posts a Review of Essential LINQ
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]
In LINQ to objects, how to set an object property to null if it equals “folder�
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]