public bool InRange(int index) { if (index == 0 && Keys.Count() == 0) return true; int last = Keys.Count()-1; return (index > 0 || index <= last); }