When should you use var keyword in C#?

When should you use var keyword in C#?

Check out Eric Lippert’s blog article http://blogs.msdn.com/b/ericlippert/archive/2011/04/20/uses-and-misuses-of-implicit-typing.aspx

See also http://stackoverflow.com/questions/41479/use-of-var-keyword-in-c-sharp

Leave a Reply

Your email address will not be published.