public string NextKey(string AfterThisKey) { int index = 0; while (index<this.keys.Count) { string thiskey = (string) this.keys[index]; if (this.owner.Compare(thiskey, AfterThisKey)>0) { return thiskey; } index++; } return null; }