Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
static (C#)

Full Name:
static

Short Name:
static

Type of Entity:
C#

Abstract:
Use the static modifier to declare a static member, which belongs to the type itself rather than to a specific object. The static modifier can be used with classes, fields, methods, properties, operators, events and constructors, but cannot be used with indexers, destructors, or types other than classes. For example, the following class is declared as static, and contains only static methods:

MSDN Source URL:
http://msdn2.microsoft.com/98f28cdx.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US