摘要:
直接上代码using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace 自定义类排序{//可以让类继承 class Person:IComparable {public string Name { get; set; }public bool Sex { get; set; }public int Age { get; set; }public Person(string name,bool sex,int age) {Name = name;Sex = se 阅读全文