public override string ToString() { return(Campo1.Substring(1, 5) + "." + Campo1.Substring(6, 10) + " " + Campo2.Substring(1, 5) + "." + Campo2.Substring(6, 11) + " " + Campo3.Substring(1, 5) + "." + Campo3.Substring(6, 11) + " " + Campo4.ToString() + " " + Campo5.ToString()); }
public override int GetHashCode() { return(string.Concat( Clave1.ToString(), Clave2.ToString(), Campo1.ToString(), Campo2.ToString(), Campo3.ToString(), Hash.ToString() ).GetHashCode()); }