text: Check if the character is a letter and index of character array doesn 't  equal to end of line that means, it is  a word and set isWord by true
code: if ( Char . IsLetter ( ch [ i ] ) && i != endOfLine ) { isWord = true ; }