public override int GetHashCode() { const int prime = 31; int result = 1; result = prime * result + ((Ip == null) ? 0 : Ip.GetHashCode()); result = prime * result + Matricula.GetHashCode(); return(result); }