Now, I aknowledge this question may be a bit stupid but I couldn't find what was wrong with my code by myself so I thought I could ask for help on the forums.
well, for context, I make simple codes in the code playground beetween courses to make sure that I can apply what I learned, but when I was testing if-else statements I was greeted with an error message that basically said that a string that I stored at the start of the code didn't exist.
I attached my code with this post, so you can check it out to see what's wrong
I found the bug! For C#, you don’t need the MyName.Equals(“text”). You just need an equality sign like MyName==“text here”. You do need to do that in Java, but not in C#! Here is a link to the fixed code. Link: