Array Variables – Linear Search VB.NET Implementation



Array Variables – Linear Search VB.NET Implementation

Array Variables - Linear Search VB.NET Implementation

This video shows how to implement a simple linear list in VB.NET using a static, one dimensional, array variable. It shows how an array can be declared and initialised, and how a linear search can be performed by inspecting each element in turn within a FOR NEXT loop. An enhanced version of the linear search program invites the user to add an item to the list if it cannot be found; This is achieved by employing a dynamic array which is declared with form level scope. The video concludes by demonstrating the use of a Visual Studio Watch window to monitor the contents of an array while stepping through the program.

Comments are closed.