It will not compile actually,and say that Same variable cannot be declared more than once in C#.It will say that "A local variable named 'cnt' cannot be declared in this scope because it would give a different meaning to 'cnt', which is already used in a 'parent or current' scope to denote something else".
So to overcome this,we must declare different variables and store values.