So I have to use this void
static void PerformOption(int option)
However I want this int option to be able to be used by other voids as well.
I know this could be done by deleting inside of brackets and assigning a static int but I have to use int option for this void, so I cannot change this one.
So how can I make option as global variable?
optionto that static int insidePerformOptionbut I am almost certain that there is a better way to implement whatever you're trying to do.