A constructor in a class is a special type have the same name as the declaring class.
It prepares the new object for use.
It differs from a method in that it has no explicit return type.
Using overloading the constructor in that there can be more than one constructor for a class.
Constructor creates objects in a special memory structure called heap for reference types.
Value types (such as int, double etc.), are created in a sequential structure called stack.
Constructors cannot be synchronized abstract or static.
Example
public class CC
{
private int a;
private string b;
public CC() : this(42, "string")
{
}
public CC(int a, string b)
{
this.a = a;
this.b = b;
}
}