What is static Constructor?

Answer Posted / manikanta.srinu

1.static constructor is execute only once while class is
loaded into memory.
2.static constructor use only static variables.
3.static constructor is a paramaterless constructor.
4.Can't use access modifiers on static constructor.
5.We can't create instence for static constructor.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between machine config vs. Web config? : .NET Architecture

544


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14073


Which software is used for .net programming?

530


Explain .net mobile selectionlist control? : Microsoft dot net mobile

504


Tell me .net mobile emulators? : Microsoft dot net mobile

558






What is the difference between metadata and menifest ?

471


Explain .net mobile events? : Microsoft dot net mobile

524


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

513


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

2312


which is the institute in hyderabad for providing the live project industry training

2334


Explain about .net garbage collector?

558


Explain about microsoft visual studio?

551


What are the options provived by vss to the user? how it will help us while delevoping application?

1757


What is the application frame host?

526


Can you explain server controls in atlas?

540