When static constructor is invoked?

Answer Posted / deepthi

It is invoked only when the object for that particular
class is created for the first time

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In .NET which is the smallest unit of execution?

712


Explain how many types of exception handlers are there in .net?

571


Can we store different data types in arraylist in c#?

554


Can constructor be protected?

538


How main method is called in c#?

595






What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

607


In which situation(s), the use of "Delegate" is a good idea?

633


If a method's return type is void, can you use a return keyword in the method?

616


Is java better than c#?

594


Is friend a constructor?

593


What is the benefit of delegate in c#?

579


What standard types does c# use?

587


What does args mean in c#?

582


Explain what is an interface in c#?

594


Is arraylist type safe in c#?

600