what is mean by static constructor ? explain me with understanding example?
sivak
-7
Junior Poster
Recommended Answers
Jump to PostStatic constructors allow you to initialize [static] members in a static class when the class is referenced.
A very detailed article has been posted at:
http://www.c-sharpcorner.com/UploadFile/cupadhyay/StaticConstructors11092005061428AM/StaticConstructors.aspxThe example provided is:
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.