26.3. Class Array and Enumerators

Chapter 8 presented basic array-processing capabilities. All arrays implicitly inherit from the MustInherit class Array (namespace System). Array operty Length specifies the number of elements in the array. In addition, class Array provides Shared methods that provide algorithms for processing arrays. Typically, class Array overloads these methods—for example, Array method Reverse can reverse the order of the elements in an entire array or can reverse the elements in a specified range of elements in an array. For a complete list of class Array’s Shared methods, visit:


Figure 26.3 demonstrates several Shared methods of class Array.

Figure 26.3. Array class used ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.