的案例聲明我收到指出 結束語句錯誤預期 我應該使用,除了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