Time:03-06
CodePudding user response:
may be my Chinese is not so good what call parameters in it? Ref out??
public static class GlobalConfig {Public static int value; Public static string name; }
write a static class, inside which can be variable, is that what you mean? public static class GlobalConfig {Public static int value; Public static string name; } Anywhere you can use the GlobalConfig. Value=https://bbs.csdn.net/topics/100; Or Int x=GlobalConfig. Value;
Page link:https//www.codepudding.com/net/103468.html