Home »

What happens if you inherit multiple interfaces and they have conflicting method names?

Question ListCategory: C#.NETWhat happens if you inherit multiple interfaces and they have conflicting method names?
jamessmith05 author asked 8 years ago
1 Answers
adamemliy16 author answered 8 years ago

It’s up to you to implement the method inside your own class, so implementation is left entirely up to you. This might cause a problem on a higher-level scale if similarly named methods from different interfaces expect different data, but as far as compiler cares you’re okay.

Please login or Register to Submit Answer