Created
July 5, 2020 19:22
-
-
Save praeclarum/75e217e58ee891ca5373a478c8c56f05 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 a = 10; | |
var b = 200; | |
Console.WriteLine((a > b) ? a : b); | |
Console.WriteLine((a > b) ? b : a); | |
Console.WriteLine(Math.Max(a, b)); | |
Console.WriteLine(Math.Min(a, b)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment