Kinetic Code Camp - Bring your skills, or lack thereof.. :dumpster_fire:

Edit: Conditionals: Single Line IF-ELSE Statements

Don’t forget the following:

string name  = "Chris"; //Assign a name

if(name == "Chris") Console.WriteLine("Yup"); else Console.WriteLine("Nope");

if(name == "chris") Console.WriteLine("Yup"); else Console.WriteLine("Nope");

if(name == "CHRIS") Console.WriteLine("Yup"); else Console.WriteLine("Nope");

Yields:
Yup
Nope
Nope
4 Likes