Double.Inequality(Double, Double) 操作员

定义

返回一个值,该值指示两个指定的 Double 值是否不相等。

public:
 static bool operator !=(double left, double right);
public:
 static bool operator !=(double left, double right) = System::Numerics::IEqualityOperators<double, double, bool>::op_Inequality;
public static bool operator != (double left, double right);
static member op_Inequality : double * double -> bool
Public Shared Operator != (left As Double, right As Double) As Boolean

参数

left
Double

要比较的第一个值。

right
Double

要比较的第二个值。

返回

如果 leftright 不相等,则为 true;否则为 false

实现

注解

方法 Inequality 定义值的不相等运算符 Double

适用于