Viewing entries tagged
LINQ

Comment

The Aggregate method in LINQ

One little known and scarcely document feature of LINQ is its Aggregate method. This function is very useful when you want to do something to the whole collection.

Lets say I have the follwoing BlogEntry class

public class BlogEntry  
{ 
    public Tags { get; set; } 
}

Now what do I do if I want to build a tag cloud?

Comment