public interface IExampleInterface { //an interface can not contain a constructor //an interface can not contain any variables or references //the functions defined within an interface can not have accessers specifiers. //an interface can contain overloaded function signatures int fun1(); void fun2(); void fun2(int x); } public class CExampleImplementation : IExampleInterface { //a class can only inherit from one concrete classes //a class can implement as many interfaces as the programmer desires //a class must completely implement an interface, it will not compile otherwise //all implemented functions of an interface must be public public int fun1() { return 1; } public void fun2() { } public void fun2(int x) { } }