do while not vb.net

The solution for “do while not vb.net” can be found here. The following code will assist you in solving the problem.

Dim y As Integer = 1
‘Do the action while the condition is not true

‘add 1 to y while y is not equal to 10
Do While Not y = 10
MsgBox(“Y value = ” & y)
y += 1
Loop

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts