23
Sep
2008
I love FirstOrDefault
I know all of you who are using C# 3.0 (released with .Net 3.5) have found some of the goodness that is in System.Linq. My current favorite is FirstOrDefault. This little extension method returns the first element of a list, or the first element that meets a criteria, or returns the object’s default value. If […]
Read More
Recent Comments