public int?StepNumber(XY xy) { return(this.stepNumbers.ContainsKey(xy) ? this.stepNumbers[xy] : (int?)null); }