banner image
Sedang Dalam Perbaikan

When to declare a class as abstract in c#


In C# when do u absolutely have to declare a class as abstract?

An abstract method is a method that is declared in a class, but not defined. In order to be instantiated, a subclass must provide the definition. An abstract class is any class that includes an abstract method. It is similar to Pure virtual in C++. If a class includes an abstract method, the class must be declared abstract, too.
When to declare a class as abstract in c# When to declare a class as abstract in c# Reviewed by MCH on March 01, 2014 Rating: 5

No comments:

Powered by Blogger.