Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = (Leaves != null ? Leaves.GetHashCode() : 0);
         result = (result * 397) ^ CreatedDate.GetHashCode();
         result = (result * 397) ^ Id.GetHashCode();
         result = (result * 397) ^ (Titles != null ? Titles.GetHashCode() : 0);
         result = (result * 397) ^ (Friend != null ? Friend.GetHashCode() : 0);
         return(result);
     }
 }