2
Answers

Basic C# question regarding strings and if statements

n

n

16y
5.5k
1
Hello everyone. I'm trying to make a console application in C#. It's just a very basic program. It asks the user to input some text, and it will give a response based on this. The program also has to make sure that Java, java, JAVA, jaVA, etc. are all the same. This is my code so far: http://pastebin.me/490eb15ca27f1 I am not sure whether answer.Equals works for this case. The compiler is giving errors. It says it expects a ( and a ) somewhere around every 'answer' word. Any help will be greatly appreciated!
Answers (2)
Next Recommended Forum