Code:
char inputString; int i; inputString = tr.ReadLine(); while (inputString != null ) { inputString = tr.ReadLine(); //ascribable text if (inputString == ' ') { i++;} //i - how many rank(space) }
And why wrong this: (inputString == ' ')
Thnaks for answer
Comment