if and c#

C#
if((number > 10) || (number < 0))    Console.WriteLine("Hey! The number should be 0 or more and 10 or less!");else    Console.WriteLine("Good job!");
Source

Also in C#: