Abstract class in C#.NET

Define abstract class in C#.NET.

- Abstract class cannot be instantiated.
- Same concept in C++ known as pure virtual method.
- A class that must be inherited and have the methods over-ridden.
- A class without any implementation.

What is an abstract class?

An abstract class is a class that can't be instantiated. It is just the blueprint for a class without any implementation. You can inherit the class and have the methods over-ridden.
Serialization in .NET
C#.NET - What is serialization in .NET? - Serialization is a process of converting an object into a stream of bytes...
C#.Net multiple inheritance
C#.Net support multiple inheritance - No, but we can use interface instead...
Can private virtual methods be overridden in C#.NET?
C#.NET - Can private virtual methods be overridden in C#.NET? - First of all private methods in the inherited class can't be accessed...
Post your comment