Bridge

Decimal..::..Addition Operator

Adds two specified Decimal values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public static decimal operator +(
	decimal d1,
	decimal d2
)
Public Shared Operator + ( _
	d1 As Decimal, _
	d2 As Decimal _
) As Decimal
public:
static Decimal^ operator +(
	Decimal^ d1, 
	Decimal^ d2
)

Parameters

d1
Type: System..::..Decimal
The first value to add.
d2
Type: System..::..Decimal
The second value to add.

Return Value

The result of adding d1 and d2.

Exceptions


ExceptionCondition
System..::..OverflowExceptionThe return value is less than MinValue or greater than MaxValue.