虽然我知道这一个......我不知道。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循环是这样残破?