Constructors and Its Types in C#

added by DotNetKicks
3/9/2020 4:52:35 PM

306 Views

A special method of the class that is automatically invoked when an instance of the class is created is called a constructor. The main use of constructors is to initialize private fields of the class while creating an instance for the class.


0 comments