是否有可能在VB.NET中编写无限循环?
如果是这样,语法是什么?
Do Something Loop
For i as Integer = 0 To 1 Step 0
如果那不够hacky,也可以写:
For i As Integer = 0 To 2 i -= 1 Next
要么
while (true) end while
好的,适当的答案:
Dim InfiniteLoop as Boolean = true; For i = 1 to 45687894 If i = 45687893 And InfiniteLoop = true Then i = 1 End For