VB.NET control structures cheatsheet
If statements:
-
If condition Then
-
' do something
-
Else
-
' do something else
-
End If
For loop:
-
For i As Int16 = start To end
-
' do something
-
Next
For each:
-
For Each item As Type In Collection
-
' do something
-
Next







Comments