What happens in case of the inherited interfaces have conflicting method names?
What happens in case of the inherited interfaces have conflicting method names?
347
14-Apr-2023
Aryan Kumar
19-Apr-2023In C#, if the inherited interfaces have conflicting method names, then the class implementing those interfaces will need to explicitly implement each conflicting method and provide its own implementation for each one.
Note that when implementing the methods, we need to use the explicit interface implementation syntax to differentiate between the two conflicting methods.