闲着没事,想思考一下两种排序法的直观对比,写了个小程序,代码如下,分析见后面: class Program { static DateTime t1, t2; static TimeSpan ts1, ts2,ts3; static int c1 = 0, c2 = 0,c3=0; static void quick_sort(int[] a, int start, int end) { int key, i, j, dir = -1; if (end <= start) { return; }