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. How to restrict a class from allowing to create only one object. I.e., one should be allowed to ..

Answer / ravi

Please refer the concept of singleton in design pattren.

Is This Answer Correct ?    15 Yes 2 No

Post New Answer

More Dot Net AllOther Interview Questions

What is parallel computing?

0 Answers  


Can I customise the trace output?

0 Answers  


Why the config file might not be writable

0 Answers  


What are the major differences between services and web services?

0 Answers  


What are end points, contract, address and bindings?

0 Answers  






What does the term "green architecture" mean? : Dot net architecture

0 Answers  


What is the difference between absolute expiration and sliding-time expiration?

0 Answers   MindCracker,


What is the use of TPL DATAFLOW?

0 Answers   MCN Solutions,


how do you hide maximize,minimize and close box at the form title bar?

1 Answers   Six Sigma,


How to call .NET Web service from Java Appl. & Why ?

1 Answers  


what are clr,cls,cts?what is .net framework?

6 Answers   Six Sigma,


which class library is used to find unique key?

1 Answers  


Categories