Category Archives: C#

Constructor in C#

Constructor: A special method of the class that will be automatically invoked when an instance of the class is created is called as constructor. A constructor doesn’t have any return type, not even void. A constructor can be called another constructor by using “this” keyword. “this” keyword is the current instance of a class. A class… Read More »