为什么编译?
If Months > 1 Then Label.Text = Months + " Months" Else : Months = 1 Label.Text = Months + " Month" End If
使用Visual Studio 2010.
:是一个行分隔符.它等同于换行符:
原文链接:https://www.f2er.com/vb/255308.htmlIf Months > 1 Then Label.Text = Months + " Months" Else Months = 1 Label.Text = Months + " Month" End If