Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash_code = (Name != null ? Name.GetHashCode() : 0);
         hash_code = (hash_code * 397) ^ (SkillPointsRemaining != null ? SkillPointsRemaining.GetHashCode() : 0);
         hash_code = (hash_code * 397) ^ InitialPointsNeeded;
         hash_code = (hash_code * 397) ^ DaysToComplete;
         hash_code = (hash_code * 397) ^ DaysRemaining;
         hash_code = (hash_code * 397) ^ Payment;
         hash_code = (hash_code * 397) ^ ReputationReward;
         return(hash_code);
     }
 }