Default Constructor


In this article we are going to discuss about default constructor with examples in C#.

Default Constructor

A default constructor is a constructor that takes no arguments. If no constructors are defined in a class, the compiler automatically provides a default constructor.

Default Constructor in C#
Prev Next