1 2 3 4 5 6 7 8 9 10 11
// CS0841: A local variable `y' cannot be used before it is declared // Line: 8 class X { static void y () { } static void Main () { y (); int y = 5; } }