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...


How can i create only one instance of class and thus doesn't
allow creating any more instances?



How can i create only one instance of class and thus doesn't allow creating any more instances..

Answer / prayag thakkar

If a system only needs one instance of a class, and that
instance needs to be accessible in many different parts of
a system, you control both instantiation and access by
making that class a singleton.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

How is the using() pattern useful? What is idisposable?

0 Answers  


Explain the purpose of cache? How is it used? : .NET Architecture

0 Answers  


What is .net mobile lists. Explain with an example? : Microsoft dot net mobile

0 Answers  


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

0 Answers  


What is one way operation?

0 Answers  


So what exactly is the configuration file for then?

0 Answers  


Explain about appdomains?

0 Answers  


It was told that .Net 2.0 Framework has got it's in built webserver. Does it mean that it doesn't need IIS? What is the significance of Front Page Server Extensions in creating or hosting a Web Application in .net?

1 Answers   247Customer, Concentrix, Wipro,


What is Video Streaming in .net??

0 Answers   Infosys,


Explain dma? : .NET Architecture

0 Answers  


can aspx page have multi language declarations ?

1 Answers  


What actually happes when you add a something to arraylistcollection ?

0 Answers  


Categories