We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f78309 commit ea05d57Copy full SHA for ea05d57
text-counter-console-app/Program.cs
@@ -5,7 +5,7 @@
5
while (true)
6
{
7
string textInput = Console.ReadLine(); //read text input in each line
8
- if (textInput == null | textInput == "") //if Ctrl+D is pressed or text input is empty
+ if (textInput == null || textInput == "") //if Ctrl+D is pressed or text input is empty
9
10
break; //end while loop
11
}
0 commit comments