June 2006
Intermediate to advanced
1344 pages
42h 52m
English
The System.Collections namespace in the .NET Framework Class Library is the primary source for non-generic collections. These classes provide standard implementations of many of the data structures discussed in Chapter 24 with collections that store references of type Object. In this section, we demonstrate classes ArrayList, Stack and Hashtable.
In most programming languages, conventional arrays have a fixed size—they cannot grow or shrink dynamically to conform to an application’s execution-time memory requirements. In some applications, this fixed-size limitation presents a problem for programmers. They must choose between using fixed-size arrays that are large enough to store the maximum ...
Read now
Unlock full access