7
Answers

Substitution for booleans in C#?

Photo of Arthur

Arthur

14y
17.8k
1
Hi,
Is there substitution for booleans in C#? If bool 1 false then return bool 2 and the opposite? And what to do if there is more then two boolean values - Coalesce, NullIf...?
Thank you very much.
Art.

Answers (7)