Mono Class Library: System.TimeSpan Overview | Members

System.TimeSpan Addition Operator

Adds the values of two TimeSpan instances.

public static TimeSpan operator+ (TimeSpan t1, TimeSpan t2)

Parameters

t1
The first TimeSpan.
t2
The second TimeSpan.

Returns

A TimeSpan whose value is the sum of the values of t1 and t2.

Exceptions

TypeReason
OverflowExceptionThe sum of t1 and t2 is less than TimeSpan.MinValue or greater than TimeSpan.MaxValue.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0