Error!
Success!

What is Static Constructor:

0
kicks

What is Static Constructor:  (Unpublished)

What is Static Constructor: C# supports two types of Constructor 1.Class Constructor or Static Constructor-used to initialize static data members as soon as the class is referenced first time 2.Instance Constructor or non-Static Constructor-used to create an instance of that class with new keyword. Static Data Member can be initialized at the time of their declaration(clsWithoutStaticConstructor in the following example) but there are times when value of one static member (clsWithStaticConstructor in the following example)may depend upon the value of another static member.


Kicked By:
Drop Kicked By: