Exemplo n.º 1
0
 public override int GetHashCode()
 {
     return(Nazwa.GetHashCode());
 }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            unchecked
            {
                const int HashingBase       = (int)2166136261;
                const int HashingMultiplier = 16777619;

                int hash = HashingBase;
                hash = (hash * HashingMultiplier) ^ (BudynekId.GetHashCode());
                hash = (hash * HashingMultiplier) ^ (Object.ReferenceEquals(null, Nazwa) ? 0: Nazwa.GetHashCode());

                int a = 12;
                return(hash);
            }
        }