The new var keyword allows C# .NET developers to code without explicitly declaring the datatype. The compiler will infer the type based on the way it is used. This tutorial shows how it can be used in LINQ queries with anonymous classes and other local method uses in Visual Studio 2010.
Link to this comment:
All Comments (0)