Home > Interview Questions > C#.NET > How do you prevent to creating instance of the class?

How do you prevent to creating instance of the class?

by Thamil   on 26/06/2011   Category: C#.NET   |  Level: Beginner   |  Views: 1964    |  Points: 25     |  Gold 


we can use private constructor to avoid creating instance of the particular class.


« What is the use of validationSummary control in asp.net application?
» How to explicitly kill a users session in asp.net application?
Post Question  |  Question Home

Recent Posts

User Responses


No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts