Recently, I found out that there is a way for “Instantiating an interface” in C#. Here is the code.
class Foo : IFoo
static void Main(string args)
// Instatiating an Interface --- This works
IFoo foo = new IFoo();
Please let me know your comments.