The operators of the TimeSpan structure are listed below. For a complete list of TimeSpan structure members, see the TimeSpan Members topic.
Addition Operator | Adds two TimeSpan values. |
Equality Operator | Determines whether two TimeSpan objects are equal. |
Greater Than Operator | Determines whether the first TimeSpan is greater than to the second TimeSpan. |
Greater Than Or Equal Operator | Determines wheter the first TimeSpan is greater than and equal to the second TimeSpan. |
Inequality Operator | Determines whether two TimeSpan objects are equal. |
Less Than Operator | Determines whether the first TimeSpan is less than to the second TimeSpan. |
Less Than Or Equal Operator | Determines wheter the first TimeSpan is less than and equal to the second TimeSpan. |
Subtraction Operator | Subtracts one TimeSpan value from specified TimeSpan. |
Unary Negation Operator | Subtracts a specified TimeSpan from this instance. |