五一假期回来,练习一下C#的一些知识,了解一下排序。
练习数据:
int[] ints = { 16, 75, 1, 39, 22, 43, 3, 68, 55 };
写一个类:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplicationDemo { public class Bw { public int[] ArrayData { get; set; } public Bw() { } public Bw(int[] myArrayData) { this.ArrayData = myArrayData; } } }