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 |
what is stage management ? (ASP.NET)
Difference between type constructor and instance constructor?
Can I create my own permission set?
What is a service class?
WHAT IS COMPUTER
What are the different pipelining hazards? : Dot net architecture
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
Write a query Where,Groupby,having clauses?
difference between data reader and dataset
how do you hide maximize,minimize and close box at the form title bar?
Explain the difference between l1 and l2 cache? : Dot net architecture
How to upload in video,mp4,in .net 4.5 ..?