public DictionaryEnumerator(Dictionary d, IterateOn it) { this.d = d; bucket = 0; index = 0; iterateOn = it; }