Why do we use abstract methods in C#?

The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes, not instantiated on its own .

Sizin İçin Seçtik  İnterface ve abstract class arasındaki fark nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *