|
Determines whether the character is printable
Author:
Jan Welker
|
Programming Language:
C# |
Rating:
not yet rated
|
Views:
211 |
Description:
Determines whether the character is printable
|
|
| C# |
1
2
3
4
5
6
7
8
9
10
11
|
/// <summary>
/// Determines whether [is printable character] [the specified candidate].
/// </summary>
/// <param name="candidate">The candidate.</param>
/// <returns>
/// <c>true</c> if [is printable character] [the specified candidate]; otherwise, <c>false</c>.
/// </returns>
private bool IsPrintableCharacter(char candidate)
{
return !(candidate < 0x20 || candidate > 127);
}
|
|
|
This Snippets could be interesting for you:
|
|
|
|
|
|
|
|
Comments:
(Please log in to wrtite an comment.)
|
|
|