Last active
June 29, 2021 04:14
-
-
Save mikeMoreno/7b566c3643919d98d1651d23a4cbe37a to your computer and use it in GitHub Desktop.
Medium/Is C# Getting Too Complex?/Misc 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = condition ? 10 : 15; | |
---------- | |
int result; | |
if (condition) { | |
result = 10; | |
} else { | |
result = 15; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment