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

5. Wcf- Session Managment

0 Answers   PCS,


what are the lifetime events of a from?

1 Answers   Six Sigma,


How to prevent my .NET DLL to be decompiled?

0 Answers   CDC,


what are constructors and destructors?

0 Answers   Six Sigma,


How cache coherency is eliminated? : Dot net architecture

0 Answers  






What are library functions?

0 Answers   DELL,


9. Oop-Class A has m1 metthode Class B has m1 metthode and C is the calss that inharits A class, A class inharits B class. If Object dim c as new A() c.m1(), Tell me which mettode of class will call

2 Answers   PCS,


what are the fundamental and common properties of .net controls?

0 Answers   Six Sigma,


data types used in validation control

0 Answers   PCS,


Explain about appdomains?

0 Answers  


What is the difference between l1 and l2 cache? : Dot net architecture

0 Answers  


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

2 Answers  


Categories