我正在审查此代码(用C#编写):
string root = match.Groups[1].Value,
secon = match.Groups[2].Success ? match.Groups[2].Value.Substring(1) : string.Empty,
third = match.Groups[3].Success ? match.Groups[3].Value.Substring(1) : string.Empty;
Run Code Online (Sandbox Code Playgroud)
有人可以解释逗号的目的吗?
| 归档时间: |
|
| 查看次数: |
168 次 |
| 最近记录: |