LINQ in Action - LINQ Book & News

To var or not to var

C# 3.0 and VB.NET 9.0 introduced implicit typing. When you use anonymous types, it's required. The rest of the time, it's mostly a judgment call to decide whether to use implicitly-typed local variables or not.
An interesting discussion is going on about this on Jean-Paul S. Boodhoo's blog. See all the comments.
Published Thursday, April 24, 2008 3:24 PM by Fabrice Marguerie


No Comments
New Comments to this post are disabled