Cadenza : Cadenza Namespace

UInt32Coda Class

Extension methods for uint.

[System.CLSCompliant(false)]
public static class UInt32Coda

Remarks

Requirements

Namespace: Cadenza
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Members

See Also: Inherited members from object.

Public Methods

static
IsEven (this uint) : bool
Gets a value indicating whether value is an even number.
static
IsOdd (this uint) : bool
Gets a value indicating whether value is an odd number.

Member Details

IsEven Method

Gets a value indicating whether value is an even number.

public static bool IsEven (this uint value)

See Also

UInt32Coda.IsOdd(uint)

Parameters

value
A uint containing the value to check.

Returns

true if value is an even number; otherwise, false.

Remarks

For purposes of this method, an even value is a number evenly divisible by 2 and the number 0; all other numbers are odd.

Requirements

Namespace: Cadenza
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

IsOdd Method

Gets a value indicating whether value is an odd number.

public static bool IsOdd (this uint value)

See Also

UInt32Coda.IsEven(uint)

Parameters

value
A uint containing the value to check.

Returns

true if value is an odd number; otherwise, false.

Remarks

For purposes of this method, an even value is a number evenly divisible by 2 and the number 0; all other numbers are odd.

Requirements

Namespace: Cadenza
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0