Click or drag to resize
TimeSpanAddition Operator
Adds two specified TimeSpan instances.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static TimeSpan operator +(
	TimeSpan t1,
	TimeSpan t2
)

Parameters

t1
Type: SystemTimeSpan
The first time interval to add.
t2
Type: SystemTimeSpan
The second time interval to add.

Return Value

Type: TimeSpan
An object whose value is the sum of the values of t1 and t2.
Exceptions
ExceptionCondition
OverflowExceptionThe resulting TimeSpan is less than MinValue or greater than MaxValue.
See Also