O'Reilly logo

Visual Basic: A Beginner's Tutorial by Jayden Ky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13

Collections

When writing an object-oriented program, you often work with groups of objects. In Chapter 5, “Core Classes” you learned that arrays can be used to group objects and iterate over elements. Unfortunately, arrays lack the flexibility you need to rapidly develop applications. For one, they cannot be resized (the ReDim statement for resizing an array actually releases the current array and creates a new one). Fortunately, the .NET Framework comes with a set of interfaces and classes that make working with groups of objects easier. These interfaces and classes are part of the System.Collections namespace and its subnamespaces. System.Collections contains non-generic types that more or less have been replaced by the generic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required