Bridge

Decimal..::..Add Method

Adds two specified Decimal values.

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

Syntax


[TemplateAttribute]
public static decimal Add(
	decimal d1,
	decimal d2
)
<TemplateAttribute> _
Public Shared Function Add ( _
	d1 As Decimal, _
	d2 As Decimal _
) As Decimal
[TemplateAttribute]
public:
static Decimal^ Add(
	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 sum of d1 and d2.

Exceptions


ExceptionCondition
System..::..OverflowExceptionThe sum of d1 and d2 is less than MinValue or greater than MaxValue.