- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 IComparable IComparer应用
public int CompareTo(object obj) { if (obj is Person) { Person otherPerson = obj as Person; return this.Age - otherPerson.Age; // } else {
2010-06-22 11:02:00 379
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
public int CompareTo(object obj) { if (obj is Person) { Person otherPerson = obj as Person; return this.Age - otherPerson.Age; // } else {
2010-06-22 11:02:00 379
TA创建的收藏夹 TA关注的收藏夹
TA关注的人