i need to use static variable to get it's value in any class in my solution .
i created a class named Myclass
public class Myclass {
public static str myVar ;
}
an other class where i need to set a value to my variable
public class MyOtherClass {
Myclass myclass;
myclass.myVar = "valeur";
}
but i get errors .