using System; using System.Collections.Generic; using System.Linq; using System.Text;      class Program     {         static void Main(string[] args)         {             Console.WriteLine("Enter three numbers. Enter Number1= ");             double number1 = double.Parse(Console.ReadLine());              Console.WriteLine("Enter Number2= ");             double number2 = double.Parse(Console.ReadLine());              Console.WriteLine(" Enter Number3= ");             double number3 = double.Parse(Console.ReadLine());              if ((number1 < number2) && (number1 < number3))             {                 if (number2 < number3)                 {                     Console.WriteLine("{0}<{1}<{2}", number1, number2, number3);                 }                 else                 {                     Console.WriteLine("{0}<{1}<{2}", number1, number3, number2);                  }              }             else if ((number2 < number3) && ((number2 < number1)))             {                 if (number1 < number3)                 {                     Console.WriteLine("{0}<{1}<{2}", number2, number1, number3);                 }                 else                 {                     Console.WriteLine("{0}<{1}<{2}", number2, number2, number3);                  }             }             else if ((number3 < number1) && (number3 < number2))             {                 if (number2 < number1)                 {                     Console.WriteLine("{0}<{1}<{2}", number3, number2, number1);                 }                 else                 {                     Console.WriteLine("{0}<{1}<{2}", number3, number1, number2);                  }             }          }      }