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.
Answer Posted / ravi
Please refer the concept of singleton in design pattren.
Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is the difference between metadata and menifest ?
Explain the purpose of cache? How is it used? : .NET Architecture
how to change the title of my window?
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
What re interop services?
Explain what does the term "green architecture" mean? : Dot net architecture
What is cache coherency? : Dot net architecture
What is the use of TPL DATAFLOW?
Explain How to improve the cache performance? : Dot net architecture
difference between data reader and dataset
difference between Response.write,server.transfer and also which one is used when ?
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
Why the config file might not be writable
how to delete the record using data reader
What is the mesi? : .NET Architecture