Uploaded January 2021 | Updated November 2026, 3 hours ago
This is the sixteenth in a series of computer science video tutorials for beginners, about programming with Visual Basic.NET (VB.NET) in Visual Studio. In this lesson you will learn what is meant by a condition controlled loop (as compared with a count controlled loop). You will see how a DO WHILE loop can be used with an exit condition that does not rely on a variable that keeps count of the number of loop iterations. You will also see how a DO WHILE loop can be used to validate input data as it is captured, for example if you want the user to input numeric data only. An example of explicit data type conversion, which is also known as casting, is also demonstrated.
This is the sixteenth in a series of computer science video tutorials for beginners, about programming with Visual Basic.NET (VB.NET) in Visual Studio. In this lesson you will learn what is meant by a condition controlled loop (as compared with a count controlled loop). You will see how a DO WHILE loop can be used with an exit condition that does not rely on a variable that keeps count of the number of loop iterations. You will also see how a DO WHILE loop can be used to validate input data as it is captured, for example if you want the user to input numeric data only. An example of explicit data type conversion, which is also known as casting, is also demonstrated.










