Пример #1
0
        public static byte? AsNullableByte(this string inputValue)
        {
            if (string.IsNullOrWhiteSpace(inputValue))
            {
                return null;
            }

            return inputValue.AsByte();
        }
 // Another WTF function for the sake of completion...
 public static Byte[] ToBytes(this SByte value)
 {
     return new [] { value.AsByte() };
 }