The type or namespace name 'MatchCollection' could not be found (are you missing a using directive or an assembly reference?
就是代码里面直接用了MatchCollection,然后就报错,是缺少什么宏定义吗,还是要申明什么东西吗
这两个地方的代码是不是不在同一命名空间下面,又缺少引用
using System.Text.RegularExpressions;引入命名空间