static void Main(string[] args) { Derived derived = new Derived(); BaseClass.NestedClass nestedBase = derived.nestedClass; Derived.NestedClass nestedDerived = (Derived.NestedClass)nestedBase; Derived.NestedClass.DeeperNestedClass deeper = nestedDerived.deeper; int property = deeper.VeryDeepPropery; }
public static void NestedClassInitialization() { BaseClass.NestedClass nestedClassInstance = new BaseClass.NestedClass(); nestedClassInstance.PtintToConsole(true); }
public static bool Function1(BaseClass.NestedClass obj) { return(true); }