Example #1
0
        public Substitution Substitute(char letterToSubstitute)
        {
            var upperCaseLetterToSubstitute = char.ToUpper(letterToSubstitute);
            var substitution = new Substitution(upperCaseLetterToSubstitute);

            _substitutionList.Add(substitution);

            return(substitution);
        }
Example #2
0
        public Substitution Substitute(char letterToSubstitute)
        {
            var upperCaseLetterToSubstitute = char.ToUpper(letterToSubstitute);
            var substitution = new Substitution(upperCaseLetterToSubstitute);

            _substitutionList.Add(substitution);

            return substitution;
        }