在VB中,Do Until strTmpError Is Nothing是一个循环语句,直到变量strTmpError不为Nothing时才停止循环。

在C#中,可以使用以下等效的代码来实现相同的功能:

while (strTmpError != null)
{
    // 循环体代码

    // 更新 strTmpError 的值
    // 例如:strTmpError = ...;
}
vb Do Until strTmpError Is Nothing 代表什么在c#中要怎么写

原文地址: http://www.cveoy.top/t/topic/iC3s 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录