private static void Show <T>(SortableArray <T> array) where T : IComparable
        {
            for (int i = 0; i < array.Lenght; i++)
            {
                Console.Write(array[i] + " ");
            }

            Console.WriteLine();
        }
        static void Main(string[] args)
        {
            Stopwatch stopwatch = new Stopwatch();

            int[]  intArray = new int[10000];
            Random rnd      = new Random();

            for (int i = 0; i < intArray.Length; i++)
            {
                intArray[i] = rnd.Next(0, 100);
            }
            SortableArray <Int32> array = new SortableArray <int>(intArray);

            array.SetSortBehavior(new InsertionSortBehavior <int>());

            stopwatch.Start();
            array.Sort();
            stopwatch.Stop();


            Console.WriteLine("затраченое время на сортировку {0} элементов: {1}", intArray.Length, stopwatch.Elapsed);
        }