Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NumberUtils.BitwiseNot Method

Returns the bitwise not (~) of the supplied number.

[Visual Basic]
Public Shared Sub BitwiseNot( _
   ByVal number As Object _
)
[C#]
public static object BitwiseNot(
   object number
);

Parameters

number
The number.

Return Value

The value of ~number.

Exceptions

Exception Type Condition
ArgumentException If the supplied number is not a supported numeric type.

See Also

NumberUtils Class | Spring.Util Namespace