Need a variable to exist in the current context - not sure where to start
Hi so as you can see in the code above, I have "public static int Limit = x;" But the problem is, is that they aren't in the same context, is there anyway I can get the x from "int x = int.Parse(Limit);" To be equal to the "x" out side of the void function?
Thanks all
1c72c0f378b93c8934721d8c1863548c.png
(14.4 kB)
Comment