Skip to Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Working with Arrays

As a developer, you know what arrays are. And you know that you can use an array to store a set of items, generally of the same type. In the .NET Framework 4.6 (as in older versions), arrays are reference types all deriving from the System.Array class and can be both one-dimensional and multidimensional.

Arrays Versus Collections

Collections, especially generic ones, are more efficient than arrays. I recommend working with collections instead of arrays, except when strictly needed. (For example, you might need jagged arrays.)

You can either declare an array and use it later in your code or declare it and assign it with objects. The following is an example of declaring an array of String objects, which means it can store ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book