Getting rid of "static" references in C#
- by DevEight
Hello. I've recently begun learning C# but have encountered an annoying problem. Every variable I want available to all functions in my program I have to put a "static" in front of and also every function. What I'd like to know is how to avoid this, if possible?
Also, small side question: creating public variables inside functions?
This is what…