class nesting : Nested Class « Class « C# / CSharp Tutorial






internal class Outer
{
    private static int state;

    internal class Inner
    {
        void Foo() { 
          state++; 
        }
    }
}








7.28.Nested Class
7.28.1.class nesting
7.28.2.Nested class object
7.28.3.Inner class