Friday April 29th

Thursday April 28th

Wednesday April 27th

C# 3.0 Sets support, a first look

I heard that .net 3.5 will have support for Set operations on lists like Union, Intersect so I gave it a try and it turned out to be cool check this out


What's with the use of the var keyword in this situation? Seems quite abusive.

Why? It's just syntactic sugar to avoid having to type the type twice in each line. And it's designed specifically for that, i.e. intended usage rather than abuse.
Please note: 'var' does not mean typeless/nothing/latebound (as in other deranged languages ;-)). Rather it tells the compiler to use the type of the assigned value (type inference).

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network