MoneyAdd Method

Adds two instances of Money together.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public static Money Add(
	Money left,
	Money right
)

Parameters

left  Money
The first Money to add.
right  Money
The second Money to add.

Return Value

Money
A new Money instance equal in value to the two provided instances added together.

Exceptions

InvalidOperationExceptionThrown if the two Money values are denominated in different currencies.

See Also