Adds two specified decimal values.
d1 The first value to add. d2 The second value to add.
The sum of d1 and d2.
TypeReasonOverflowExceptionThe sum of d1 and d2 is less than decimal.MinValue or greater than decimal.MaxValue.
The following code sample illustrates the use of Add :
code reference: Decimal Example#5