public new ConnectFourPatternCollection GetAllPatternsWithIdentifer(string identifier)
        {
            ConnectFourPatternCollection unit = new ConnectFourPatternCollection();

            for (int i = 0; i < Patterns.Count; i++)
            {
                if ((( ConnectFourPattern )Patterns[i]).StartsWith(identifier) == true)
                {
                    /// note do not use copy constructor here moron.
                    ///

                    unit.AddPattern((( ConnectFourPattern )Patterns[i]));
                }
            }

            return(unit);
        }
        public void UpdatePattern(ConnectFourPattern pattern)
        {
            ConnectFourPatternCollection collection = ( ConnectFourPatternCollection )GetAllPatternsWithIdentifer(pattern.GetStartsWith());

            if (collection.Count == 0)
            {
                return;
            }

            for (int i = 0; i < collection.Count; i++)
            {
                if ((( ConnectFourPattern )collection.Patterns[i]) == pattern)
                {
                    (( ConnectFourPattern )collection.Patterns[i]).UpdatePattern(pattern);
                }
            }
        }