共用方式為


IComparisonOperators<TSelf,TOther,TResult>.GreaterThanOrEqual 運算子

定義

比較兩個值,以判斷哪一個值大於或相等。

public:
 static TResult operator >=(TSelf left, TOther right);
public static abstract TResult operator >= (TSelf left, TOther right);
static member ( >= ) : 'Self * 'Other -> 'Result
Public Shared Operator >= (left As TSelf, right As TOther) As TResult

參數

left
TSelf

要與 right比較的值。

right
TOther

要與 left比較的值。

傳回

TResult

如果 left 大於或等於 right,則為 true,否則為 false

適用於