Example #1
0
 /// <summary>
 /// The to lower.
 /// </summary>
 /// <param name="value">
 /// The value.
 /// </param>
 /// <returns>
 /// The <see cref="byte"/>.
 /// </returns>
 public static byte ToLower(byte value)
 {
     if (AsciiChar.IsUpper(value))
     {
         return((byte)(value - 32));
     }
     return(value);
 }
Example #2
0
 /// <summary>
 /// The is upper.
 /// </summary>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 public bool IsUpper()
 {
     return(AsciiChar.IsUpper(this.asciiCode));
 }