Exemple #1
0
 public bool Equals(AHByte b)
 {
     if ((object)b == null)
     {
         return(false);
     }
     else
     {
         return(v == b.v);
     }
 }
Exemple #2
0
    /*
     * public static AHByte operator ++ (AHByte input)
     * {
     *  input.hiddenValue = EncryptDecrypt(input.InternalEncryptDecrypt() + 1);
     *  return input;
     * }
     *
     * public static AHByte operator -- (AHByte input)
     * {
     *  input.hiddenValue = EncryptDecrypt(input.InternalEncryptDecrypt() - 1);
     *  return input;
     * }
     */

    public override bool Equals(object o)
    {
        if (o is AHByte)
        {
            AHByte b = (AHByte)o;
            return(this.v == b.v);
        }
        else
        {
            return(false);
        }
    }