+ 1

";" and ":" in C#

is there a trick to know when to put ";", when to put ":" and when to put nothing?

31st Dec 2024, 3:39 PM
Mateo Bernald
Mateo Bernald - avatar
1 Resposta
+ 3
; = end of the command : = needs ? before (ternary operator) question ? True : False
31st Dec 2024, 9:02 PM
Mihaly Nyilas
Mihaly Nyilas - avatar