Thursday, June 25, 2009

Things to remember Always

1. If you don't specify the access modifier for a class, by default it is considered as internal. 

2. Interface members are always public. 

3. The need of a private constructor is when we want to make a class not be instantiated. So, this can be only helpful where statics members are there in a class.

4. Static classes are abstract and sealed which prevents them to be instantiated.

No comments: