Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When static constructor is invoked?

Answer Posted / abhay k pandey

Static constructors can invoke mainly at two ocasions
1. Just before the first instance of the class is created [
in case this static contructor is there in non static class]
2. At the time any static member is accessed [ in case of
either static or non static classes ]

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between list and array in c#?

1038


Enlist all the components of an ado.net framework?

873


What is cts, clr?

839


What is the use of generics in c#?

868


Explain about accessibility modifier 'protected internal'?

1008


Can a class or a struct have multiple constructors?

977


Give examples for value types?

953


What does question mark mean in c#?

990


Why do we need collections in c#?

870


How does yield return work c#?

939


What is the difference between arraylist and list in c#?

915


How many digits is a 32 bit number?

894


Can a struct inherit from another struct or class in c#?

926


What you mean by delegate in c#?

897


What is an assembly qualified name? Is it a filename? How is it different?

946