Table of Contents

Class IntUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods and properties related to int.

public static class IntUtils
Inheritance
IntUtils

Methods

AsBinaryString(int)

Gets an integer value as a binary string (containing 0 and 1).

IsBitSet(int, int)

Checks whether a bit at the specified position is equal to 1.

IsBitUnset(int, int)

Checks whether a bit at the specified position is equal to 0.

IsEqualEven(int, int)

Determines whether two integers have the same evenness (both even or both odd).

IsEven(int)

Determines whether the specified integer value is even.

SetBit(int, int)

Sets a bit at the specified position to 1.

UnsetBit(int, int)

Sets a bit at the specified position to 0.