new virtual method : Virtual : Class C# Examples


C# Examples » Class » Virtual »

 

new virtual method









    
class  Control
{
        public  virtual  void  Foo()  {}
}
class  MyControl:  Control
{
        //  not  an  override
        public  new  virtual  void  Foo()  {}
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Class
» Virtual