在C#中要對一些基本型態的陣列作排序相當簡單 /// init an integer array int[] a = { 10, 9, 1, 2, 6, 5, 4 }; /// sort the array. Array.Sort(a);
確定! 回上一頁