/// <summary> /// This method forms the character aray to print triangle by prompting user for Start and End Characters /// </summary> /// <returns>returns a character array from start character to end character</returns> internal static char[] SetCharacterArrayUsingStartEndCharacters() { var startCharacter = GetCharacterInput("\nPlease enter an input start character : "); var endCharacter = GetCharacterInput("\nPlease enter an input end character : "); UserInputValidation.ValidateStartAndEndCharacter(startCharacter, endCharacter); var characterArray = ExtendedUserUtilities.GenerateCharacterArray(startCharacter, endCharacter); return(characterArray); }