6 Jul 2012

Types of Constructors in OOPS C#.NET?

Types of Constructors

Constructor Definition: Constructor is method in the class which is having Class name. When we create an instance of the constructor this method will call.. 

Types of Constructors: Mainly C# Supports five types of constructors in the C#.net

  1. Default Constructor.
  2. Parameterized Constructor.
  3. Copy Constructor
  4. Static Constructor. 
  5. Private Constructor

No comments:

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.