Recently I came across a code base and found some code like below
var a = 1_23_456;
Console.WriteLine(a);
I have tried to run it in visual studio 2015/ .net fiddle but it got a compilation error. But when I retried it using Roslyn 2.0 compiler, it got compiled and gives me the output 123456.
What the matter here? Why it is showing the data as an integer ?