Simple Arrays Video Transcript In this tutorial, you will complete a

Simple Arrays Video Transcript
In this tutorial, you will complete a series of steps designed to help you understand the how to
create an array. Please follow each step as documented.
1. Create a new program and save as “Arrays”.
2. Next, in the form design window, create the following form:
This form will have three buttons called btnCreate, btnPopulate, and btnArraySearch (the
last two will be used in subsequent tutorials). Instead of labels to display variables, we
will use Message Boxes.
3. Next, double click on the first button, btnCreate, and create a string array with the
following code statements:
Please note that this code statement declares a string array of five elements.
4. Next, populate the array, with names as follows:
5. Finally, have the program display the third element of the array:
Please note that the third element of the array is actually the second index (2) of the
array. This is due to the fact that the index always begins with a zero.
6. Next, let’s determine the size of the array by using one of the methods in the array class:
7. Please run the program and test for accuracy. Once you have tested your program several
times for accuracy, please save the executable and form1.vb file, but do not submit yet.