IN .NET, there is no difference between declaring variables inside loops and declaring variables outside loops. Here is the proof.
Here are two programs

And, here is the ILASM obtained by disassembling

As you can see, the two are the same.
So, please leave those variables inside loops when they are not needed outside. Having the variables closer to their point of use makes the code easier to read.
Eddy.
cannot find symbol method println java.lang.string
please help
Uh? :)