I'm wondering I can't reach static class field from instance variable
class aa { public static string b = "bb"; } Console.WriteLine(aa.b); //fine aa f = new aa(); f.b //error Why? Do I make something wrong?
I'm wondering I can't reach static class field from instance variable
class aa { public static string b = "bb"; } Console.WriteLine(aa.b); //fine aa f = new aa(); f.b //error Why? Do I make something wrong?