Thursday, May 26, 2011

Static Classes and Static Members

http://msdn.microsoft.com/en-US/library/79b3xss3(v=VS.80).aspx

Static Classes

 
The main features of a static class are:


Static Members

A static method, field, property, or event is callable on a class even when no instance of the class has been created. If any instances of the class are created, they cannot be used to access the static member. Only one copy of static fields and events exists, and static methods and properties can only access static fields and static events.

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...