Multiple Implementation : Interface : Class C# Examples


C# Examples » Class » Interface »

 

Multiple Implementation









    
interface  IFoo
{
        void  ExecuteFoo();
}

interface  IBar
{
        void  ExecuteBar();
}

class  Tester:  IFoo,  IBar
{
        public  void  ExecuteFoo()  {}
        public  void  ExecuteBar()  {}
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Class
» Interface