Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim S() As Integer = {100, 80, 89, 78, 98}
For Each a As Integer In S
Console.WriteLine(a)
Next a
End Sub
End Class
-----------------------------------------------------------------------------------------
我想問上面這段程式碼有什麼問題?我偵錯時它沒說有錯誤,但就是執行不出結果,到底問題在哪裡?