Syntatic Sugars | C# Hidden Features
Note: To be able to use these features we need at least C# version 7 and above or Unity 2018 and above. Ternary Operator In computer programming, the ternary conditional operator is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages.It is commonly referred to as the conditional operator, ternary if, or inline if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c....