Abstract
The most primitive container for application data within the .NET platform is the System. Array class. As you saw in Chapter 4, VB 2010 arrays allow you to define a set of identically typed items (including an array of System. Objects, which essentially represents an array of any type of data) of a fixed upper limit. While basic arrays can be useful to manage small amounts of known data, there are many other times where you require a more flexible data structure, such as a dynamically growing and shrinking container, or a container that can only hold objects that meet a specific criteria (e.g., only objects deriving from a specific base class or only objects implementing a particular interface).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 Andrew Troelsen, Vidya Vrat Agarwal
About this chapter
Cite this chapter
(2010). Understanding Generics. In: Pro VB 2010 and the .NET 4 Platform. Apress. https://doi.org/10.1007/978-1-4302-2986-5_10
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2986-5_10
Publisher Name: Apress
Print ISBN: 978-1-4302-2985-8
Online ISBN: 978-1-4302-2986-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)