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

Loop Engineering: Designing the Systems That Prompt Your Agents

Loop Engineering For the last couple of years, the core skill in working with AI was writing a good prompt. You'd craft careful instru...