To explicitly implement interface we need to prefix the method name with the name of the interface following by .(dot).
return "Interface 1 : Hello NET";
Assuming that HelloNet method is in IInterface1 as well as another interface that is inherited in the class.
Asked In: Many Interviews |