May 2010
Intermediate to advanced
1272 pages
61h 18m
English
The Common Language Specification influences classes’ implementation with basically a few rules. The most rules are related to inheritance as much as for methods. Because inheritance hasn’t been covered yet, (discussed in Chapter 12, “Inheritance,”), the only rule mentioned here is that if a class exposes only shared members, it must have an empty private constructor and must be marked as NotInheritable, as follows:

The other rules about classes are described in Chapter 12.
Read now
Unlock full access