What if all the interfaces contain same method with same signature?
Loading
What if all the interfaces contain same method with same signature?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Oct 14, 2022, 5:47 AM
You need to implement it will explicitly by interface name thats call as Explicit Interface implementation.
https://www.c-sharpcorner.com/article/implementing-multiple-interfaces-with-the-same-method-signature-in-c-sharp/
https://www.c-sharpcorner.com/UploadFile/19b1bd/implicit-and-explicit-interface-implementation/
Rajanikant HawaldarPosted Oct 14, 2022, 7:07 AM
Hello Uday,
you can do explicit interface method implementation as below.
https://www.c-sharpcorner.com/article/explicit-interface-implementation/