Implicit typing
C# it uses var keyword, and the variable must be initialized non null statement (since compiler needs to know which type it is referring) at the time of declaring. Also it has to be used as local variable, not field, return value or parameters etc. It can’t be nullable, since its type has to be known.
No comments yet.
Leave a comment
-
Recent
-
Links
-
Archives
- December 2009 (2)
- August 2009 (1)
- July 2009 (2)
- April 2009 (4)
- March 2009 (6)
- February 2009 (5)
- January 2009 (4)
- December 2008 (3)
- November 2008 (35)
- October 2008 (20)
-
Categories
-
RSS
Entries RSS
Comments RSS