Glossary:Definition - Abstract class

From C# Online.NET (CSharp-Online.NET)—your free C# and .NET encyclopedia


Jump to: navigation, search
 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.

Glossary of .NET / C# Terms
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0-9
edit

Personal tools
C# Entry Points