[]
Determines if the first Length value is greater than or equal to the second.
public static bool operator >=(Length unit1, Length unit2)
Type | Name | Description |
---|---|---|
Length | unit1 | A first Length value to compare. |
Length | unit2 | A second Length value to compare. |
Type | Description |
---|---|
bool | A bool value. |
var length1 = new Length("1in");
var length2 = new Length("1in");
bool result = length1 >= length2; // true