.NET Fiddle

CSharp · Console

/Program.cs

var x = 42;
if (true) {
	//var x = 43;
}
System.Console.WriteLine(x);
;