-
Notifications
You must be signed in to change notification settings - Fork 1
Abstract Classes
Mario Gutierrez edited this page Jan 8, 2017
·
4 revisions
How to define an abstract class with an abstract method:
abstract class MyAbstractClass
{
public abstract void AbstractMethod();
}
How to do the concrete implementation (extend the abstract class and override abstract methods):
class ConcreteImplementation : MyAbstractClass
{
public override void AbstractMethod() { /* ... */ }
}
- Abstract Classes
- Access Modifiers
- Anonymous Methods
- Anonymous Types
- Arrays
- Attributes
- Console I/O
- Constructors
- Const Fields
- Delegates
- Enums
- Exceptions
- Extension Methods
- File IO
- Generics
- Interfaces
- Iterators
- LINQ
- Main
- Null Operators
- Parameters
- Polymorphism
- Virtual Functions
- Reflection
- Serialization
- Strings
- Value Types
- "Base" Keyword
- "Is" and "As"
- "Sealed" Keyword
- nameof expression