Anonymous user
Conditional structures: Difference between revisions
m
→Ternary
PatGarrett (talk | contribs) (→{{header|VBScript}}: full syntax) |
m (→Ternary) |
||
Line 1,008:
===Ternary===
<lang csharp>// if condition is true var will be set to 1, else
int var = condition ? 1 : 2;</lang>
|