Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            Mnemocode another = obj as Mnemocode;

            if (another == null)
            {
                throw new ArgumentException("Wrong comparison type.");
            }
            return(Equals(another));
        }
Ejemplo n.º 2
0
 public bool Equals(Mnemocode another)
 {
     return(Code.Equals(another.Code, StringComparison.OrdinalIgnoreCase));
 }