View Recording
System & Device Check
About the Class
Overview:
Arrays Processing. Passing Arrays as Arguments. Returning an Array from a Function
Arrays can be used for
Grade lists
Storing event times/scores
Telephone numbers
Arrays May Be Used to Total Values and Search for Data. Related Information May Be Stored in Multiple Parallel Arrays. In Addition, Arrays May Be Resized at Run Time.
::Determining the Number of Elements in an Array
Array''s have a Length property that holds the number of elements in the array
Note that the length is the number of elements on the array, not the largest subscript.
So if you have this array,
Q: Dim names(35) As Integer. What is the length of this array?
A: It is 36
Note that the length is the number of elements on the array, not the largest subscript. So there are 36 elements, because it goes from 0 to 35, which equals 36 elements.
Language of instruction:
Keywords: arrays, visual basic .net, loops, counting, storing