What is the constructor in .NET Core

Forums .NET CoreWhat is the constructor in .NET Core
Staff asked 3 years ago

Answers (1)

Add Answer
Shaikh Hafeezjaha Marked As Accepted
Staff answered 3 years ago

A Constructor is a method that is called automatically whenever an instance of that class is created.

For more detail, you can read my article Constructors And Its Type In C#

so that you can understand it.

Subscribe

Select Categories