public class Base { public static X = 1; } public class Child : Base { public static Y = 2; }