Chris Stuff
Categories
-
Recent Posts
Recent Comments
Archives
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- December 2011
- May 2011
- March 2011
- December 2010
- August 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
Category Archives: LINQ
Expressions and Lambdas
Some conversation on a recent post on Chad’s blog brought up the confusion between Lambdas and Expressions. A while back, I went into the various ways to create delegates throughout the different versions of C#. Although I touched on it … Continue reading
Some improved LINQ operators
I ran across a couple of scenarios the other day that were made pretty difficult given the current LINQ query operators. First, I needed to see if an item existed in a collection. That’s easy with the Contains method, when … Continue reading
LINQ query operators: lose that foreach already!
Now that .NET 3.5 is out with all its LINQ query operator goodness, I feel like going on a mean streak of trashing a lot of our (now) pointless foreach loops. Some example operations include: Transformations Aggregations Concatenations Filtering As … Continue reading
Enhancing mappers with LINQ
The “big 3″ higher-order functions in functional programming are Filter, Map and Reduce. When looking at the new C# 3.0 LINQ query operators, we find that all three have equivalents: Filter = Where Map = Select Reduce = Aggregate Whenever … Continue reading

