Exemple #1
0
 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);
 }
Exemple #2
0
 public bool Equals(Scheda scheda)
 {
     return(ID_scheda == scheda.ID_scheda);
 }