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

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

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

    // 更新 'strTmpError' 的值
    // 例如:'strTmpError' = ...;
}
VB Do Until strTmpError Is Nothing 在 C# 中的等效代码

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

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