public static MyList <int> TakeInputList(bool isRandom = true, int MinContentLegth = 10, int MaxContentLength = 20, int MaxValue = 20)
 {
     if (!isRandom)
     {
         MyList <int> meList = new MyList <int>();
         Console.WriteLine("Enter the number of elements in List");
         int numbers = Convert.ToInt32(Console.ReadLine());
         Console.WriteLine("Enter elements of List\n ");
         int i = 1;
         while (i <= numbers)
         {
             meList.AddAt(i++, Convert.ToInt32(Console.ReadLine()));
         }
         return(meList);
     }
     else
     {
         InputGenerator ioGenerator = new InputGenerator();
         ioGenerator.MaxContentLength = MaxContentLength;
         ioGenerator.MinContentLength = MinContentLegth;
         var meList = InputStream.ReadFileAsMyList(ioGenerator.GenerateIntegerInputFile(MaxValue));
         return(meList);
     }
 }