Mihane
Global Variables in new Visual Studio
Hello, I'm learning C# and I'm using the "new" Visual Studio setup (the one without Main and Program declaration). However how can I declare a global variable with this setup? I saw some videos and they put the global variables in class Program, however without those declaration, as far as I know, I'm writing inside Main method.
8 replies