I'm new to programming
i started to learn C# language
Console.WriteLine("yes or no ?");
string answer = Console.ReadLine();
switch (answer)
{
case "yes":
// some code
break;
case "no":
//some code
break;
default:
//some code
break;
my question is if the user inserted his answer "Yes", "YES" ,"yEs" or whatever the way he wrote "yes" the program will execute the default code because its not exactly matching to the lowercase "yes" i wrote in the switch case .. is there an advanced way to let the program detect that "Yes" with the uppercase letter is the the same answer to "yes" and then execute the block code of case "yes".
my 2nd question i picked C# to be my first language because Unity3d game engine support this language so i decided to learn the language at first then use it inside the unity3d is that a right decision
im sorry if my question seems stupid but as i said im newbie