VB Do Until strTmpError Is Nothing 在 C# 中的等效代码
在 VB 中,'Do Until strTmpError Is Nothing' 是一个循环语句,直到变量 'strTmpError' 不为 'Nothing' 时才停止循环。
在 C# 中,可以使用以下等效的代码来实现相同的功能:
while (strTmpError != null)
{
// 循环体代码
// 更新 'strTmpError' 的值
// 例如:'strTmpError' = ...;
}
原文地址: https://www.cveoy.top/t/topic/qjHz 著作权归作者所有。请勿转载和采集!