class nesting : Nested Class : Class C# Examples


C# Examples » Class » Nested Class »

 

class nesting









    
internal  class  Outer
{
        private  static  int  state;

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




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Class
» Nested Class