nikeedev
Member
- Joined
- Aug 2, 2021
- Messages
- 11
- Programming Experience
- 1-3
Hello, currently I don’t have the code to that program but my problem is that I have two variables(call both whatever you want), if I use if command on them to see if first variable is same as the other one, but I can’t as it stays as and error. I can make a small code snippet(it uses normal/regular “using system” library:
C#:
string Input = Console.ReadLine();
string repeatInput = Console.ReadLine();
if (Input == repeatInput) {
Console.WriteLine(“True”);
} else {
Console.WriteLine(“False”);
}
Last edited by a moderator: