Monthly Archives: March 2013

Little Difference between c#4 and c#5 compiler

What is the difference between outside declared variable and inside declared variable? Case1: Outside: var i_ = default(int); foreach (var i in new[] { 0, 1, 2, 3, 4, 5 }) { i_ = i; Console.WriteLine(i_); } Inside: foreach (var … Continue reading

Posted in C# 5 | Leave a comment