Monthly Archives: July 2009

>LINQ Operators – Part X

> I have been busy with a series of tasks and couldn’t find time to complete operators section. Although I had a safari account via university subscription and could read it online, I ordered a great book "C# 3.0 in … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Operators – Part IX

> Element operators: First, FirstOrDefault: Used to return the first element from a sequence. T-SQL counterpart is "top 1". Last, LastOrDefault: Used to return the last element from a sequence. T-SQL counterpart is "top 1 … order by desc" Single, … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Operators – Part VIII

> Aggregation operators Aggregation operators are Average, Count, LongCount, Sum, Max, Min and Aggregate. Aggregation operators are available only as methods in C# (VB also have a comprehension syntax for aggregation operators). Average: Gets the average of a numeric collection. … Continue reading

Posted in Uncategorized | Leave a comment