public virtual bool ContainsKey (string key) { int index = this.IndexOfKey (key); return (index >= 0 && index < this.Count); }