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 you explain update progress control?
Explain the purpose of cache? How is it used? : .NET Architecture
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
What is the application frame host?
difference between Response.write,server.transfer and also which one is used when ?
What are bindings?
What are library functions?
What is a service class?
Explain a .net mobile example with details? : Microsoft dot net mobile
I want to create a project like google maps how can we do that with atlas?
What other than biginteger has been introduced in system.numerics namespace?
Explain How to improve the cache performance? : Dot net architecture
What is the purpose of cache? : Dot net architecture
What is a managed code? : Dot net architecture
Explain about developer benefit from memory management?