public
public override bool Equals(object obj)
{
CDataBarcode a = obj as CDataBarcode;
return (((((a.vRFID_ == this.vRFID_) && (a.BankPaperTypeID == this.BankPaperTypeID)) && ((a.BankPaperUnitID == this.BankPaperUnitID) && (a.Quantity == this.Quantity))) && (a.TotalAmount == this.TotalAmount)) && (a.vVoucherTypeID_ == this.vVoucherTypeID_));
} public static bool operator !=(CDataBarcode a, CDataBarcode b)
{
return (!(a .Equals( b)));
}
看看红色字体中的!=号 与方法体代表什么意思!~调用此方法的语句
if(val==null)
public override bool Equals(object obj)
{
CDataBarcode a = obj as CDataBarcode;
return (((((a.vRFID_ == this.vRFID_) && (a.BankPaperTypeID == this.BankPaperTypeID)) && ((a.BankPaperUnitID == this.BankPaperUnitID) && (a.Quantity == this.Quantity))) && (a.TotalAmount == this.TotalAmount)) && (a.vVoucherTypeID_ == this.vVoucherTypeID_));
} public static bool operator !=(CDataBarcode a, CDataBarcode b)
{
return (!(a .Equals( b)));
}
看看红色字体中的!=号 与方法体代表什么意思!~调用此方法的语句
if(val==null)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货