Common Type System—Type Members


Jump to: navigation, search
Visual C# Tutorials
.NET Framework Tutorials

Common Type System

© 2006 Wiley Publishing Inc.

Type Members

A type can have any number of members. These members make up the interface and implementation for the type itself, composing the data and operations available for that type. This includes a type’s constructors, methods, fields, properties, and events. This section will go over each in detail, including some general cross-cutting topics.

There are two types of members: instance and static. Instance members are accessed through an instance of that type, while static members are accessed through the type itself rather than an instance. Static members are essentially type members, because they conceptually belong to the type itself. Instance members have access to any static members or instance members lexically reachable (based on your language’s scoping rules); conversely, static members can only access other static members on the same type without an instance in hand.


Previous_Page_.gif Next_Page_.gif





Personal tools