NullableTypes Class Library

NullableByte.Add Method 

Computes the sum of the two specified NullableByte structures.

[Visual Basic]
Public Shared Function Add( _
   ByVal x As NullableByte, _
   ByVal y As NullableByte _
) As NullableByte
[C#]
public static NullableByte Add(
   NullableByte x,
   NullableByte y
);

Parameters

x
A NullableByte structure.
y
A NullableByte structure.

Return Value

Null if either instance of NullableByte is Null otherwise a NullableByte structure whose Value property contains the results of the addition.

Exceptions

Exception TypeCondition
OverflowException The addition compute a number that is less than MinValue or greater than MaxValue.

See Also

NullableByte Class | NullableTypes Namespace