What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 30014 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > C# Interview Questions > Explain two different scenarios where th ...

Explain two different scenarios where the Static Constructors can be used ?

Interview question and answer by: Chvrsri | Posted on: 3/23/2011 | Category: C# Interview questions | Views: 2901 | | Points: 40


Answer:



These are the 2 different scenarios where the Static Constructor can be used :

When ever the Class uses the log file and a constructor is used to write some contents into this file.

These Static Constructors are also used when we create Wrapper Classes for the un-managed code and when the constructor can call the load library method.

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Chvrsri

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 4:15:31 AM