What am I doing wrong here that would make index = -1? When I set index to only >0, it will only retu the last element in the times array, no matter the letter entered.
char[] lastNameLetterArr = { 'a', 'e', 'j', 'p', 't' };
string[] timeSlotArr = { TIME5, TIME1, TIME2, TIME3, TIME4 };
int index;
index = lastNameLetterArr.Length - 1;
while (index > 0 && lastNameLetterCh < lastNameLetterArr[index])
--index;
timeStr = timeSlotArr[index];
