Single.Equality(Single, Single) Single.Equality(Single, Single) Single.Equality(Single, Single) Single.Equality(Single, Single) Operator

Definizione

Restituisce un valore che indica se due valori Single specificati sono uguali.Returns a value that indicates whether two specified Single values are equal.

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

Parametri

left
Single Single Single Single

Primo valore da confrontare.The first value to compare.

right
Single Single Single Single

Secondo valore da confrontare.The second value to compare.

Restituisce

true se left e right sono uguali; in caso contrario, false.true if left and right are equal; otherwise, false.

Commenti

Il Equality metodo definisce l'operatore di uguaglianza Single per i valori.The Equality method defines the equality operator for Single values.

Si applica a