For example
Will the 'g' variable stay 10 for any code past the while loop or will it return to its original value of 1? Curious about bool/string/etc values as well.
C#:
int g = 1
while (g <= 10)
{
Console.WriteLine(g);
g++;
}
Will the 'g' variable stay 10 for any code past the while loop or will it return to its original value of 1? Curious about bool/string/etc values as well.