我正在查看这段代码(用 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;
有人可以解释逗号的目的吗?