int val = 0;
while (val != 4)
{
Console.Write("Please insert number: ");
val = Int32.Parse(Console.ReadLine());
switch (val)
{
case 1:
Console.WriteLine("The day is - Sunday");
break;
case 2:
Console.WriteLine("The day is - Monday");
break;
case 3:
Console.WriteLine("The day is - Tuesday");
break;
default:
Console.WriteLine("Out of range !!");
break;
}
}