Total Page Preview: 000000000210
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