雖然我知道這一個......我不知道。For循環如何在VB.NET中工作?
這種簡單的For循環:
Dim i As Integer
Dim n As Integer = 10
Dim s As Integer = 1
For i = 0 To n Step s
Console.WriteLine(i)
Next
編譯成這個(我把它通過Refelctor,所以它更容易閱讀)。我什至不能得到它所做的所有這些位移:
Dim n As Integer = 10
Dim VB$t_i4$L1 As Integer = 1
Dim VB$t_i4$L0 As Integer = n
Dim i As Integer = 0
Do While (((VB$t_i4$L1 >> &H1F) Xor i) <= ((VB$t_i4$L1 >> &H1F) Xor VB$t_i4$L0))
Console.WriteLine(i)
i = (i + VB$t_i4$L1)
Loop
爲什麼For循環是這樣殘破?