Do abstract class have Constructors in C#?

preview_player
Показать описание
1. Full .NET Interview Course (with PDF Book)

C# / ASP.NET Core / MVC / API - Top 500 Interview Questions

Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.

2. Quick Revision Book (PDF format)

Top 500 .NET Interview Questions - OOPS/ C#/ ASP.Net/ MVC/ SQL /.Net Core /Web API

50% Discount Applied on above link.

My best wishes are with you.
Рекомендации по теме
Комментарии
Автор

When we create an object for a derived class, implicitly base class constructor is called thereby base class constructor internally calls the derived class constructor. Hence abstract classes contain constructors.

-Joshna
Автор

We call the abstract class constructor using childclass:base

mayankpriyadarshi
Автор

Can we define parameterized constructor inside the abstract class?

Luckyyraju
welcome to shbcf.ru