April 2013
Intermediate to advanced
1700 pages
92h 51m
English
Within the same struct, class, or interface, different methods with the same name can exist, as long as they differ in their signatures. The concept of a signature goes beyond just methods; instance constructors, indexers, and operators have them, too. For a method, a signature roughly corresponds to the method’s header, as illustrated earlier in Figure 10.1. One notable difference is the fact that a signature doesn’t include the return type as part of its formal definition. Although other differences exist that can be studied by specification lovers, this description suffices for our purposes.
Read now
Unlock full access