/// <summary> /// Checks the letter in the alphabet and the index of the cipher /// </summary> /// <param name="l">the stored letter</param> /// <param name="i">the stored index</param> /// <param name="r">the rotor to check</param> private void LeftToRight(ref char l, ref int i, Rotor r) { l = r.LetterInAlpha(i); i = r.CipherIndexOfLetter(l); }