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....

<span title='2022-12-22 18:24:03 +0700 +0700'>22 December 2022</span>&nbsp;·&nbsp;4 min&nbsp;·&nbsp;698 words&nbsp;·&nbsp;Ahmad Adillaumam