摘要:
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 阅读全文