摘要: public static void SortOrder(int[] arrlist) { int temp; for (int i = arrlist.GetUpperBound(0); i >= 1; i--) { for (int j = 0; j < arrlist.GetUpperBound(0) - 1; j++) { if (arrlist[j] > arrlist[j + 1]) { temp = arrlist[j]; arrlist[j] = arrlist[j + 1]; arrlist[j + 1] = temp; } } } } public sta 阅读全文
posted @ 2012-11-16 18:51 (二少)在南极 阅读(166) 评论(0) 推荐(0) 编辑