ByteExtensions.DidAdditionOverflow Method ​
Definition ​
Determines whether a signed addition overflowed by examining the sum and its operands.
c#
public static bool DidAdditionOverflow(this Byte sum, Byte left, Byte right);Parameters ​
| Name | Type | Description |
|---|---|---|
sum | Byte | The result of the addition. |
left | Byte | The left operand. |
right | Byte | The right operand. |
Returns ​
true if the addition overflowed; false otherwise.