Welcome to MSDN Blogs Sign in | Join | Help

September 2005 - Posts

Creating Custom Aggregate Functions in LINQ

Jomo Fisher —Adriane asks whether it’s possible to create your own aggregate function like Sum, Avg, Count, etc. For object queries, the answer is yes. First, let’s look at the actual implementation of Sum: public static int Sum( this IEnumerable <
Posted by Jomo Fisher | 4 Comments
Filed under: ,

Evolution of a C# Query—Step by step from C# 1.1 to LINQ

Jomo Fisher —The future of C# was recently unveiled at PDC. Object, XML and relational data will be integrated deeply into the language. This isn’t really a new direction for C#, it’s the next step down a path that C# has always been headed. To see this,
Posted by Jomo Fisher | 8 Comments
Filed under: ,
 
Page view tracker