Archive for September 7th, 2009
CSharp VAR Misconceptions
I find it amazing that .NET 3.5 has been out for over a year and people still don’t understand the “var” keyword.
Just last week I got a comment on one of my videos asking why I used “var” so much. Isn’t that only supposed to be used when you don’t know what the return type is going to be?
Clearly, this person does not understand what “var” does or how it should be used.