When static constructor is invoked?

Answer Posted / raviraj

we do not have concept static constructor in .net.a
constructor is one which is invoked when you create an
object for that class,hence by no chance there will exist a
static constructor.

Is This Answer Correct ?    3 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I get around scope problems in a try/catch?

699


Explain “static” keyword in c#?

664


What is clr namespace?

690


Explain the use of SN.exe

850


Explain what is the smallest unit of execution in .net?

747


What is the difference between a private assembly and a shared assembly?

803


Why do we need to call CG.SupressFinalize?

761


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

770


Describe how a .net application is compiled and executed

728


When was c# created?

727


How to rotate an Image in C#?

816


What is difference between C# and VB.NET?

795


Write down the c# syntax to catch an exception

728


What is the difference between readkey and readline in c#?

686


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

733