For predefined value types, the equality operator (==) returns true if the values of its operands are equal, false otherwise. For reference types other than string, == returns true if its two operands refer to the same object. For the string type, == compares the values of the strings.
Syntax
'Declaration
Public Operator =( _
ByVal As Length, _
ByVal As Length _
) As System.Boolean
public System.bool operator ==(
Length ,
Length
)
Parameters
- unit1
- the Length
- unit2
- the Length
See Also