static void Main(string[] args)
    {
        QSort qs = new QSort();
        int   tamaño;
        int   dato;

        Console.Write("Tamaño del arreglo: ");
        tamaño = int.Parse(Console.ReadLine());
        int[] arreglo = new int[tamaño];

        for (int n = 0; n < tamaño; ++n)
        {
            Console.Write("Ingresa el dato numero {0}: ", n + 1);
            dato       = int.Parse(Console.ReadLine());
            arreglo[n] = dato;
        }

        qs.quicksort(arreglo, tamaño);
        Console.WriteLine("Impresion de datos ordenados");

        for (int n = 0; n < tamaño; ++n)
        {
            Console.Write("{0} ", arreglo[n]);
        }
    }