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 |
How is the using() pattern useful? What is idisposable?
Explain the purpose of cache? How is it used? : .NET Architecture
What is .net mobile lists. Explain with an example? : Microsoft dot net mobile
Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture
What is one way operation?
So what exactly is the configuration file for then?
Explain about appdomains?
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??
Explain dma? : .NET Architecture
can aspx page have multi language declarations ?
What actually happes when you add a something to arraylistcollection ?