No, no global variables in C#. What you can do is to create a public static variable on a class and use it like this 'MyClass.MyVariable = value ...
確定! 回上一頁