Tuesday, 9 December 2014

Facts about Static

1. Static class can not be instantiated.

2. Static class can not contain any constructor, whether we can create without error but it does not have mean.

3. Static class method and properties etc called by class name.

4. Static constructor can't be parameterized. Access modifiers can not be applied on Static constructor.

5. Default constructor can be used To assign value in any static variable.

6. Static Constructors can not have access modifier and parameter

7. const(constant) type can not be created as static, error will come.

Featured post

What is SharePoint?

Microsoft SharePoint is an extensible platform that provides a range of products that can help organizations with solution for a variety...