interfaceISampleInterface{voidSampleMethod();}classImplementationClass:ISampleInterface{// Explicit interface member implementation:voidISampleInterface.SampleMethod(){// Method implementation.}staticvoidMain(){// Declare an interface instance.ISampleInterfaceobj=newImplementationClass();// Call the member.obj.SampleMethod();}}