June 2006
Intermediate to advanced
1344 pages
42h 52m
English
Visual Basic provides several ways of allowing methods to have variable sets of parameters. Method overloading allows you to create multiple methods with the same name but different signatures—that is, different numbers and types of parameters, or with different orderings of the parameters (by type). When an overloaded method is called, the compiler selects the proper method by examining the number, types and order (by type) of the arguments. Often, method overloading is used to create several methods with the same name that perform similar tasks on different types of data.
Good Programming Practice 7.3
|
| Overloading methods ... |
Read now
Unlock full access