CTS Type Members
Now that you have previewed each of the types formalized by the CTS, realize that most types take
any number of members. Formally speaking, a type member is constrained by the set {constructor,
finalizer, static constructor, nested type, operator, method, property, indexer, field, read-only field,
constant, event}.
The CTS defines various “adornments” that may be associated with a given member. For exam-
ple, each member has a given visibility trait (e.g., public, private, protected, and so forth). Some
members may be declared as abstract to enforce a polymorphic behavior on derived types as well as
virtual to define a canned (but overridable) implementation. Also, most members may be config-
ured as static (bound at the class level) or instance (bound at the object level). The construction of
type members is examined over the course of the next several chapters.
Do'stlaringiz bilan baham: |