By benzzon, 11 August, 2023 Forums Dev-stuff Forum-topic ".NET och C#-tips". Conditional Ternary Operator (x == y) ? truehere : falsehere Use the "conditional ternary operator" instead of "if-else". .NET Fiddle Laborera och testa C#-kod online via .NET Fiddle:https://dotnetfiddle.net/
Conditional Ternary Operator (x == y) ? truehere : falsehere Use the "conditional ternary operator" instead of "if-else".
Conditional Ternary Operator (x == y) ? truehere : falsehere
Use the "conditional ternary operator" instead of "if-else".
.NET Fiddle
Laborera och testa C#-kod online via .NET Fiddle:
https://dotnetfiddle.net/