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

Linear Regression

Linear Regression is a mathematical method used to predict the value of a continuous target variable based on one or more input features. ...