public bool Equals(AHByte b) { if ((object)b == null) { return(false); } else { return(v == b.v); } }
/* * 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); } }