using System; public class Test { public static void Main() { int x = 10; { int x = 20; Console.WriteLine(x); } Console.WriteLine(x); } }