SyntaxFix
Write A Post
Hire A Developer
Questions
You need to specify an access modifier for your variable. In this case you want it public.
public class Variables { public static string name = ""; }
After this you can use the variable like this.
Variables.name