Cadenza : Cadenza Namespace

Int16Coda Class

Extension methods for short.

public static class Int16Coda

⊟ 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 short) : bool
Gets a value indicating whether value is an even number.
static
IsOdd (this short) : 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 short value)

⊟ See Also

Int16Coda.IsOdd(short)

⊟ Parameters

value
A short 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 short value)

⊟ See Also

Int16Coda.IsEven(short)

⊟ Parameters

value
A short 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