In C# .Net 3.5 they added the var keyword. The intent the var keyword is to allow the object type to be implicitly inferred from the expression used to initialize the variable. However, more often then not I hear people using it because it saves them time typing.
So, if the main reason SOME people are using var i have to ask the one simple qusetion
Is var any different then Dim? I mean they both have 3 letters. They both are used to declare variables........ Hum
I know that var is NOT the same as dim in the 'CLR' sense, so please do NOT try to explain to me how they are different
Till next time,
03-21-2008 10:19 AM