A static class containing extensions for the int type.
More...
|
| static char | ToChar (this int number) |
| | Converts a number between 0 and 9 to the corresponding text character.
|
| |
A static class containing extensions for the int type.
- Since
- Unreleased
◆ ToChar()
| static char Joutsen.IntExtensions.ToChar |
( |
this int |
number | ) |
|
|
static |
Converts a number between 0 and 9 to the corresponding text character.
- Parameters
-
| number | the number to convert |
- Returns
- the text character representing the number
- Exceptions
-
| ArgumentException | if the character is smaller than zero or greater than nine |