Exemple #1
0
 public override string ToString()
 {
     return(MajorId.ToString() + "|" + MinorId.ToString());
 }
Exemple #2
0
        // override object.GetHashCode
        public override int GetHashCode()
        {
            int hash = (MajorId.ToString() + Name + IsSpecialized.ToString()).GetHashCode();

            return(hash);
        }