//this is the delegation
interface ISampleInterface
{
//are there any fields/properties that are required for whoever implements this interface?
//the methods that are required for the later classes that will implement the interface
void SampleMethod(); //containts inputs and outputs -- no inputs in this one, since it is a dummy and also no return since it says void
}
public class ImplementationClass : ISampleInterface
// Explicit interface member implementation:
void ISampleInterface.SampleMethod()
// Method implementation.
public static void Main()
// Declare an interface instance.
ISampleInterface obj = new ImplementationClass();
// Call the member.
obj.SampleMethod();