The smallest of four numbers can be found using if else statement or
Ternary operator or logical operator . if we enter four numbers to check and comparing each other and it returns lowest number after comparing. see the following codes.
- C# Program to Find Smallest of 4 Numbers using ternary operator

- C# Program to Find Smallest of 4 Numbers using ternary operator with user input

- C# Program to Find Smallest of 4 Numbers using ternary operator with simplified way.

Happy Coding … Thanks.