This documentation is archived and is not being maintained.

Compiler Error CS0144

Cannot create an instance of the abstract class or interface 'interface'

You cannot create an instance of an abstract class or an interface.

The following sample generates CS0144:

// CS0144.cs
interface ii
{
}

public class a
{
   public static void Main()
   {
      ii xx = new ii();   // CS0144
   }
}
Show: