Single.Inequality(Single, Single) Operador

Definición

Devuelve un valor que indica si dos valores Single especificados no son iguales.Returns a value that indicates whether two specified Single values are not equal.

public:
 static bool operator !=(float left, float right);
public static bool operator != (float left, float right);
static member op_Inequality : single * single -> bool
Public Shared Operator != (left As Single, right As Single) As Boolean

Parámetros

left
Single

Primer valor que se va a comparar.The first value to compare.

right
Single

Segundo valor que se va a comparar.The second value to compare.

Devoluciones

true si left y right no son iguales; en caso contrario, false.true if left and right are not equal; otherwise, false.

Comentarios

El método Inequality define el operador de desigualdad para los valores de Single.The Inequality method defines the inequality operator for Single values.

Se aplica a