public override bool Equals(Object other) { SynonymNode snOther = (SynonymNode)other; if (snOther.Id == this.Id && snOther.Name == this.Name) { return(true); } else { return(false); } }
public int CompareTo(Object other) { SynonymNode snOther = (SynonymNode)other; return(this.Name.CompareTo(snOther.Name)); }