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 the purpose of cache? How is it used? : .NET Architecture
3. Should validation (did the user enter a real date) occur server-side or client-side? Why?
How resource files are used in .net?
How can I write my own .NET host?
I can't be bothered with cas. Can I turn it off?
Explain pipelining? : .NET Architecture
Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile
Is dim fs as filestreamobject is a managed code? : Dot net architecture
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
what is the use of SQL command builder class in C#.net? Explain how can we execute a stored procedure using C#.Net? What is the difference between .DLL and .EXE?
what is authentication and authorization?how do they differ?
What is the purpose of Accordian in jquery? Where it can be used?