Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool
Exemple #1
0
 //////////////////////////////////////////////////////////////////////////
 // Identity
 //////////////////////////////////////////////////////////////////////////
 public static bool equals(BigDecimal self, object obj)
 {
     if (obj is BigDecimal)
       {
     return self.Equals(obj);
       }
       return false;
 }
Exemple #2
0
        //////////////////////////////////////////////////////////////////////////
        // Identity
        //////////////////////////////////////////////////////////////////////////

        public static bool equals(BigDecimal self, object obj)
        {
            if (obj is BigDecimal)
            {
                return(self.Equals(obj));
            }
            return(false);
        }