Memory limitations probably dictate the number of arrays. Array sizes is another issue. Before 32-bit operating systems, arrays were usually limited to 254 dimensions. Their length is limited by the largest indexing type available (usually a long). As I mention in the book, I can think of examples that use 4 dimensions (e.g., x, y, z, and time), but all I got when I tried to think of a good 5-dimension example was a headache.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
|