public class MyClass { public int x; } public class MyClass2: MyClass { x=1; }
Im trying to acces variable x from base class but i get