为什么编译?
If Months > 1 Then Label.Text = Months + " Months" Else : Months = 1 Label.Text = Months + " Month" End If
使用Visual Studio 2010.
:是一个行分隔符.它等同于换行符:
If Months > 1 Then Label.Text = Months + " Months" Else Months = 1 Label.Text = Months + " Month" End If