Hi Gabry_v, I advise you spend some time on MSDN, and study the material from there. Most schools who try teaching coding now a days use outdated and often old books not worthy of wiping your ass with. Not criticising "E PROGRAMM", I've just never heard of it, nor has Google. As a hypothesis, its really an assumption on my part given how many times I've corrected school book material on forums over the years. However, one of the most practical ways to learn; is to read and study the content provided by Microsoft themselves. As you are guaranteed, almost all of their pages are kept updated.
In regards your issue, there is an if else link for conditional logic in my signature. I suggest reading that so you can see why your if statement is not formatted correctly. Strings are also enclosed in double quotation marks
" "
, and not single quotes
' '
. I think its safe to assume you were trying to determine if you received the typed character which was in fact the letter
"s"
? Breezing over
Strings - C# Programming Guide will help you here too. If you get stuck, use the search bar on MSDN to look up whatever you're struggling to understand, ie char etc. Of course, if you need further clarity, or have any questions. You can always come back and ask on these forums.