System.Single.op_GreaterThan Method

Returns a value that indicates whether a specified float value is greater than another specified float value.

Syntax

public static bool operator> (float left, float right)

Parameters

left
The first value to compare.
right
The second value to compare.

Returns

true if left is greater than right; otherwise, false.

Remarks

The float.op_GreaterThan(float, float) method defines the operation of the greater-than operator for float values.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0