What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-03 07:25:01
ternary operator in c#
/* In C#, if condition is true, the first expression is evaluated and becomes the result; if false, the second expression is evaluated and becomes the result. */ // The syntax of ternary operator is: Condition ? Expression1 : Expression2; // Here... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5