VB.NET Tutorial - Dynamic Arrays (Visual Basic .NET)

Published: 03 March 2014
on channel: VB Toolbox
16,176
104

In this VB.NET tutorial, I'll show you the basics of using Dynamic Arrays with ReDim. We'll also learn about the ReDim Preserve option to preserve the array contents when we restructure it.

Note: Small mistake - The PopulateArray Sub loops the entire array and overwrites the preserved contents. Sorry!

Tutorial Features:
Dynamic Arrays - 1-D and 2-D Arrays
Form Controls - Button, Label, ListBox
Random - Generate Random Numbers
Subs - Populate Our Array with Random Numbers
Lambda Expression - Loop through array and populate ListBox


Watch video VB.NET Tutorial - Dynamic Arrays (Visual Basic .NET) online without registration, duration hours minute second in high quality. This video was added by user VB Toolbox 03 March 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,176 once and liked it 104 people.