C# Tutorial Byte

Basic

  1. Check the value range and size for byte type in CSharp
  2. Check the value range and size for unsigned byte in CSharp
  3. Use byte to control for loop in CSharp

Convert

  1. Convert Boolean value to byte in CSharp
  2. Convert Unicode character to byte in CSharp
  3. Convert byte to string with culture-specific format in CSharp
  4. Convert byte value to its base 2(Binary), base 8(Octal) and base 16(Hex) forms in CSharp
  5. Convert double to byte in CSharp
  6. Convert int to byte in CSharp
  7. Convert value to byte in CSharp
  8. Converts byte to string in a specified base in CSharp

Format

  1. Format byte in default format and leading zeros in CSharp
  2. Format byte to Hexadecimal with X4 in CSharp
  3. Format byte to string to string using the standard format in CSharp
  4. Format byte to string with standard format and culture information in CSharp

Parse

  1. Parse string in hexadecimal number to byte in CSharp
  2. Parse string to byte and catch the OverflowException and FormatException in CSharp
  3. Try to parse string to byte in CSharp




















Home »
  C# Tutorial »
    Data Types »




C# Data Types
Bool
Byte
Char
Decimal
Double
Float
Integer
Long
Short
String
C# Array
Array Example
Byte Array
C# Standard Data Type Format
BigInteger
Complex
Currency
DateTime
DateTimeOffset
DateTime Format Parse Convert
TimeSpan
TimeZone
Enum
Null
tuple
var