示例#1
0
 public int CompareTo(Pet myPet)
 {
     return(name.CompareTo(myPet.GetName()));
 }