草庐IT

PasswordStrengthRegularExpression

全部标签

c# - 是否有理由在现代 .NET 代码中使用 goto?

我刚刚在.NET基础库的反射器中找到这段代码...if(this._PasswordStrengthRegularExpression!=null){this._PasswordStrengthRegularExpression=this._PasswordStrengthRegularExpression.Trim();if(this._PasswordStrengthRegularExpression.Length==0){gotoLabel_016C;}try{newRegex(this._PasswordStrengthRegularExpression);gotoLabel_

c# - 是否有理由在现代 .NET 代码中使用 goto?

我刚刚在.NET基础库的反射器中找到这段代码...if(this._PasswordStrengthRegularExpression!=null){this._PasswordStrengthRegularExpression=this._PasswordStrengthRegularExpression.Trim();if(this._PasswordStrengthRegularExpression.Length==0){gotoLabel_016C;}try{newRegex(this._PasswordStrengthRegularExpression);gotoLabel_