Created
April 12, 2024 11:00
-
-
Save Retrockit/604003b83814cf8edbc786d758177a7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// true or false | |
bool isColorBlue = true; | |
bool isNotColorBlue = false; | |
string[] colors = new string[] { "blue", "red"}; | |
if (colors[1] != "red") | |
{ | |
Console.WriteLine(isColorBlue); | |
} | |
else | |
{ | |
Console.WriteLine(isNotColorBlue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment