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
What is application frame host?
Can I create my own permission set?
Explain the purpose of cache? : Dot net architecture
Define an interrupt? : Dot net architecture
What happens to the winfx technologies?
What are the types of memory management? : Dot net architecture
Explain hard disk? : Dot net architecture
What is .net viewstate?
What is an interrupt? : Dot net architecture
Can you explain control extenders?
difference between data reader and dataset
I want to create a project like google maps how can we do that with atlas?
Describe the Managed Execution Process in .NET?
What is the use of CLR in .NET?
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile