How can you write a class to restrict that only one object of this class can be created (Singleton class)?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is the purpose of namespace in c#?

0 Answers  


Can hashtable have duplicate keys in c#?

0 Answers  


What is difference between dictionary and list in c#?

0 Answers  


Why do we use yield in c#?

0 Answers  


what is default accessibility for a class? what is difference b/w viewstate and controlstate? what is the default access specifier for a top level class which are not nested into other classes?

2 Answers  






If we write a goto or a return statement in try and catch block will the finally block execute?

6 Answers  


Why do we need ienumerable in c#?

0 Answers  


What is a concrete class in c#?

0 Answers  


Is java better than c#?

0 Answers  


If casting fails what type of exception is thrown?

0 Answers  


What is stringreader in c#?

0 Answers  


What you mean by inner exception in c#?

0 Answers  


Categories