Recent Posts
Calendar
September 2009
S M T W T F S
« Aug   Oct »
 12345
6789101112
13141516171819
20212223242526
27282930  

Archive for September 7th, 2009

CSharp VAR Misconceptions

G07L0003

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.

Read the rest of this entry »