How can i create only one instance of class and thus doesn't
allow creating any more instances?
Answer Posted / 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 View All Answers
can u give me real example of how web.config overrides the machine.config file?
What is .net mobile automatic paging? : Microsoft dot net mobile
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
So what exactly is the configuration file for then?
What re interop services?
Explain about clr?
What are the options provived by vss to the user? how it will help us while delevoping application?
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
Explain the process of gc?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
Explain dma? : Dot net architecture
Explain about httpruntime.cach.get(); method?
Explain the types of memory management? : Dot net architecture
Whats new features in Visual Studio 2012?
what are the fundamental and common properties of .net controls?