In my current employer's VB.NET coding I frequently see the following conditional coding:
If memvar = True Then
Do something...
Else : Me.TxtBox.Text = "DuDah"
Is there any reason, advantage to using the above versus the traditional syntax of:
If memvar = True Then
Do something...
Else
Me.TxtBox.Text = "DuDah"
End If
Thanks in advance,
Steve
If memvar = True Then
Do something...
Else : Me.TxtBox.Text = "DuDah"
Is there any reason, advantage to using the above versus the traditional syntax of:
If memvar = True Then
Do something...
Else
Me.TxtBox.Text = "DuDah"
End If
Thanks in advance,
Steve