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 |
Explain about microsoft visual studio?
How do I prevent concurrent access to my data?
can any one urls for learning .net(which is written in simple english)
Explain the five stages in a dlx pipeline? : .NET Architecture
wild card character in sql ?
What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework
1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type.
1 Answers 247Customer, FinEngine, TCS,
What is a virtual memory? : Dot net architecture
What is textview control of .net mobile? : Microsoft dot net mobile
What is application frame host?
How to delete the duplicate records in a table using sql server
what are login controls?