Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (MatricNo.Length != 0)
            {
                hash ^= MatricNo.GetHashCode();
            }
            if (School.Length != 0)
            {
                hash ^= School.GetHashCode();
            }
            if (BloodGroup.Length != 0)
            {
                hash ^= BloodGroup.GetHashCode();
            }
            if (Programme.Length != 0)
            {
                hash ^= Programme.GetHashCode();
            }
            if (ProfilePicture.Length != 0)
            {
                hash ^= ProfilePicture.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }