컴파일러 오류 CS0144

업데이트: 2007년 11월

오류 메시지

'interface' 추상 클래스 또는 인터페이스의 인스턴스를 만들 수 없습니다.
Cannot create an instance of the abstract class or interface 'interface'

abstract 클래스 또는 인터페이스의 인스턴스를 만들 수 없습니다. 자세한 내용은 인터페이스(C# 프로그래밍 가이드)를 참조하십시오.

다음 샘플에서는 CS0144 오류가 발생하는 경우를 보여 줍니다.

// CS0144.cs
interface MyInterface
{
}
public class MyClass
{
   public static void Main()
   {
      MyInterface myInterface = new MyInterface ();   // CS0144
   }
}