的案例声明我收到指出 结束语句错误预期 我应该使用,除了to的东西吗?我试过or和&,并且收到类似的错误。 Dim interp As String = ""
Select Case BmiValue
Case Is < 18.5
interp = "Underweight"
Case Is <18.5 to >=24.9
interp =
我想让我的控制台窗口在Visual Basic中打开。用我的代码,我只能要求一行,然后窗口关闭。这里是我的代码: Module Module1
Sub Main()
If (Console.ReadLine = "e") Then
Console.WriteLine("Test")
End If
Console.ReadKey()
End Su