Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error CS0205

Cannot call an abstract base member: 'method'

You cannot call an abstract method, even from within the implementation of the method.

The following sample generates CS0205:

// CS0205.cs
abstract public class MyClass
   abstract public void mf();

public class MyClass2 : MyClass
   public override void mf()
      base.mf();   // CS0205, delete this line

   public static void Main()
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.