Total Page Preview:   000000000493

What is a constructor in class?

Constructor is a method used to initialize the state of an object, and it gets invoked at the time of object creation.

Rules for constructor are:

Constructor Name should be same as class name.

Constructor must have no return type.

 

Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com



Comments

Willshire
18-Oct-2021
Hello There. I discovered your blog using msn. This is an extremely neatly written article. I'll be sure to bookmark it and come back to read more of your helpful info. Thanks for the post. I'll definitely return.