Пример #1
0
 /// <summary>
 /// The to upper.
 /// </summary>
 /// <param name="value">
 /// The value.
 /// </param>
 /// <returns>
 /// The <see cref="byte"/>.
 /// </returns>
 public static byte ToUpper(byte value)
 {
     if (AsciiChar.IsLower(value))
     {
         return((byte)(value + 32));
     }
     return(value);
 }
Пример #2
0
 /// <summary>
 /// The is lower.
 /// </summary>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 public bool IsLower()
 {
     return(AsciiChar.IsLower(this.asciiCode));
 }