C#
Implicitly Typed Local Variables
Earlier we saw a new feature “Automatic Properties” in C# 3.0. Today we are going to see the use of new ‘var’ keyword. C# 3.0 allows local variables in methods to have an implicit type by identifying it from the type of its initial value. For instance, var str = Read more…