2018年5月3日

索引

摘要: 1 class Program 2 { 3 4 static void Main() 5 { 6 var pair = new Pair<int>(10,12); 7 8 Console.WriteLine($"this is {pair.First} and {pair[PairItem.Seco 阅读全文

posted @ 2018-05-03 14:15 不会非的猪 阅读(118) 评论(0) 推荐(0) 编辑

IComparer 与 IComparable

摘要: 1 static void Main() 2 { 3 var people = new ArrayList(); 4 people.AddRange(new ArrayList 5 { 6 new Person{ Name = "Jone",Age = 18}, 7 new Person{ Name 阅读全文

posted @ 2018-05-03 10:05 不会非的猪 阅读(159) 评论(0) 推荐(0) 编辑

导航