public static void ICollection_Properties()
{
Regex regex = new Regex(@"(?<A1>a*)(?<A2>b*)(?<A3>c*)");
GroupCollection groups = regex.Match("aaabbccccccccccaaaabc").Groups;
ICollection collection = groups;
Assert.False(collection.IsSynchronized);
Assert.NotNull(collection.SyncRoot);
Assert.Same(collection.SyncRoot, collection.SyncRoot);
}