Implicitly Typed Local Variables(iansuttle.com)
submitted by
isuttle(1140) 4 years, 10 months ago
C# 3.0 introduces implicitly typed local variables by way of the keyword “var”. The use of var allows one to assign a number of different types to a variable without explicitly stating that variable’s type. Var is actually not a type at all, but a keyword which instructs the compiler to infer the most appropriate type based on the value or expression to the right of the equals sign. read more...
|category: C#
|Views: 6
tags:
.net3.5 C#3.0 another
Everyones tags:
Your Tags: