public override bool Equals(object oggetto) { if ((oggetto == null) || !this.GetType().Equals(oggetto.GetType())) { return(false); } else { Scheda scheda = (Scheda)oggetto; if (ID_scheda == scheda.ID_scheda) { return(Punto.Equals(scheda.Punto)); } } return(false); }
public bool Equals(Scheda scheda) { return(ID_scheda == scheda.ID_scheda); }