From C# Online.NET (CSharp-Online.NET)—your free C# and .NET encyclopedia
| Term
| Abstract class
|
| Definition
| A class representing a base class which other types can subclass. A normal, non-abstract class is called a concrete class. An abstract class may contain either or both abstract and concrete methods. (Properties cannot be marked abstract.) As in ordinary inheritance, a type derived from an abstract class inherits all the base type members including any method implementations. But, if any abstract methods are inherited, the class must either declare itself abstract or provide an implementation.
A C# abstract class is declared with the abstract keyword.
|
| See also
| Class, Inheritance, Interface, Should I use an abstract class or an interface?
|
| This C# Online.NET definition is from the Glossary of .NET / C# Terms.
|