freddes.se

…because I'm a nerd

Archive for January, 2009

Using the Enumerable Class methods and lambda expressions

without comments

lambdathumbnailThis article presents nothing new at all, but sometimes it is nice to freshen your memory when it comes to smooth stuff available in the .NET Framework. I will give a couple of examples to select, count and look up elements in a collection of objects, both using regular functions and by using lambda expressions. The methods I will use are available when using .NET Framework 3.5.

The complete documentation is available on MSDN, in System.Collection.Generic Namespace documentation.

Read the rest of this entry »

Written by Fredde

January 28th, 2009 at 12:17 am

Posted in .NET,C#,Tips & tricks

Tagged with , ,