VB.Net实现类似C#中continue的功能 如下C#代码:int sum=0;for(int i=1;i<101;i++){if(i%2!=0){continue;}sum+=i;}可以考虑用以下VB.NET代码实现:Dim sum As Integer, i As IntegerFor i = 1 To 100 If (i Mod 2 = 0) Then... c# 2024-01-08 39 点赞 0 评论 59 浏览