Extension methods for short.
Namespace: Cadenza
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0
See Also: Inherited members from object.
⊟ Public Methods
⊟ IsEven Method
Gets a value indicating whether value is an even number.
⊟ See Also
⊟ 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.
⊟ See Also
⊟ 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