Q&A Discussies
Literally so confused
-1 Stem
2 Antwoorden? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys ๐
18 Stemmen
6 AntwoordenPopulair vandaag
Coding for Cybersecurity
0 Votes
Pointers in c#
0 Votes
Salut tout le monde
1 Votes
How can i isntall modules
0 Votes