コード例 #1
0
ファイル: Name.cs プロジェクト: AnthonyEllis06/project2
 public int CompareTo(Name other)
 {
     if (!Last.Equals(other.Last))
     {
         return(Last.CompareTo(other.Last));
     }
     return(Rest.CompareTo(other.Rest));
 }