Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

Local variable type inference in C# 3.0
In C# 1.0 type declaration was very simple: - Specify the type name (if an array then append [] to the end of the type) - Follow by a local variable name Here are some examples of this: int i = 23; double [] ds = new double [] { 1.0, 2.0 }; In C# 2.0 Read More...
Page view tracker