using System; using System.Collections.Generic; using System.Linq; using System.Text;  namespace ConsoleDecisionMaking {     class Program     {         static void Main(string[] args)         {             Console.WriteLine("Enter No of Elements to be Entered");             int num = Convert.ToInt32(Console.ReadLine());             int[] data = new Int32[num];             Console.WriteLine("Enter No Elements");             for (int i = 0; i < num;i++)             {                 data[i] = Convert.ToInt32(Console.ReadLine());             }             if (data == null || data.Length == 0)             {                 Console.WriteLine("Empty Array");             }             else if (data.Length == 1)             {                 Console.WriteLine("Big No:"+data[0]);             }             else if (data.Length == 2)             {                 if (data[0] > data[1])                 {                     Console.WriteLine("Big1:" + data[0] + "Second Big:" + data[1]);                 }                 else                 {                     Console.WriteLine("Big1:" + data[1] + "Second Big:" + data[0]);                 }             }             else             {                 int smallbig, big;                 if (data[0] > data[1])                 {                     smallbig = data[1];                     big = data[0];                 }                 else                 {                     smallbig = data[0];                     big = data[1];                 }                 for (int i = 3; i < num; i++)                 {                     if (data[i] > big)                     {                         smallbig = big;                         big = data[i];                     }                 }                 Console.WriteLine("Big value"+big+"Second Big:"+smallbig);             }             //Console.WriteLine();             Console.ReadKey();         }     } }