Less Than Operator (Length)
Determines if the first
Length value is less than the second.
Parameters
- unit1
- A first Length value to compare.
- unit2
- A second Length value to compare.
Return Value
A
System.Boolean value.
true
if the first length is less than the second; otherwise,
false
.
var length1 = new Length("1in");
var length2 = new Length("2in");
bool result = length1 < length2; // true