Exemplo n.º 1
0
            public override int GetHashCode()
            {
                int hash = 57;

                hash = 27 * hash * MCC.GetHashCode();
                hash = 27 * hash * MNC.GetHashCode();
                hash = 27 * hash * LAC.GetHashCode();
                hash = 27 * hash * CID.GetHashCode();
                return(hash);
            }
Exemplo n.º 2
0
        /// <summary>
        /// Get the hashcode of this object.
        /// </summary>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(Start.GetHashCode() * 11 ^

                       (End.HasValue
                            ? End.GetHashCode()
                            : 0) * 7 ^

                       (MCC.IsNotNullOrEmpty()
                            ? MCC.GetHashCode()
                            : 0) * 5 ^

                       (MNC.IsNotNullOrEmpty()
                            ? MNC.GetHashCode()
                            : 0) * 3);
            }
        }