In this chapter you have studied a data structure called an array. You have learned that one-dimensional arrays are useful for storing lists of data and two-dimensional arrays are often used for data tables. You have also seen how you can change the size of an array during program execution by using dynamic arrays.

Keep in mind that even though this chapter uses only string and integer arrays, you can define arrays for any data type supported by Visual Basic .NET. You should try typing in the programs presented in this chapter and experimenting with them. In particular, you should try to access array elements that are not defined to see how Visual Basic .NET handles such errors. You might also modify the TableProgram program to process the Double data type so that fractional values can be entered into the program. Once again, experimentation is a great way to learn, and I encourage you to experiment as much as possible.

Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: