Home > DeveloperSection > Forums > Constructor in c#.
James Smith

Total Post:48

Points:336
Posted on    May-20-2011 3:42 AM

 C# C# 
Ratings:


 1 Reply(s)
 1199  View(s)
Rate this:
Hi..
I would like to know that what is difference between default constructor and static constructor in c# and how to implement it.


Awadhendra Tiwari

Total Post:126

Points:882
Posted on    May-20-2011 3:58 AM

Default constructor is called whenever an object of class is created while static contructor is called as well as class is loaded in memory.

Modified On May-20-2011 05:43:48 AM

Don't want to miss updates? Please click the below button!

Follow MindStick