int[] array = { 23, 65, 28, 56, 142, 562, 32, 15 }; Array.Sort(array); //升序 Array.Reverse(array); //降序