Check out example codes for "interface inheritance c#". It will help you in understanding the concepts better.

Code Example 1

// declaring an interface 
public interface A { 
      
    // method of interface 
    void mymethod1(); 
    void mymethod2(); 
} 
  
// The methods of interface A  
// is inherited into interface B 
public interface B : A { 
      
    // method of interface B 
    void mymethod3(); 
}

Learn ReactJs, React Native from akashmittal.com