January 2003
Intermediate to advanced
896 pages
19h 58m
English
This chapter examined the different ways of supporting collections of objects in the .NET Compact Framework. We started with System.Array, which you use by means of the C# and Visual Basic .NET language features for supporting arrays, rather than by instantiating a System.Array object directly. Then we briefly described the most important collection classes in the System.Collections and System.Collections.Specialized namespaces.
Finally, we looked at implementing IComparable and IComparer in a class to support sorting and how you create your own custom collections.
Read now
Unlock full access