Tuesday, 20 November 2012

How to Prevent a class being Insiated in c#

Their are many ways to Doing
1- Make The Class Abstract
2- Use Static Class
3- Make Private Constructor

No comments:

Post a Comment