コード例 #1
0
ファイル: Name.cs プロジェクト: AnthonyEllis06/project2
 /// <summary>
 /// Equality comparer for two Name objects
 /// </summary>
 /// <param name="other">  true if first and last names of this name are equal to Other.First and Other.Last, respectively</param>
 /// <returns>Boolean True if Equal and false if not equal</returns>
 bool IEquatable <Name> .Equals(Name other)
 {
     return(Rest.Equals(other.Rest) && Last.Equals(other.Last));
 }