IAdditionOperators<TSelf,TOther,TResult>.CheckedAddition Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds two values together to compute their sum.
public:
static override TResult op_CheckedAddition(TSelf left, TOther right);
public static virtual TResult op_CheckedAddition (TSelf left, TOther right);
static member op_CheckedAddition : 'Self * 'Other -> 'Result
Public Shared Overrides op_CheckedAddition (left As TSelf, right As TOther) As TResult
Parameters
- left
- TSelf
The value to which right
is added.
- right
- TOther
The value which is added to left
.
Returns
TResult
The sum of left
and right
.
Exceptions
The sum of left
and right
is not representable by TResult
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.