Hex with .ToString("X")

  • Thread starter Thread starter Guest
  • Start date Start date
You need to use .ToString ("X4");

The 4 represents the number of leading zeros to include where necessary.
 
Back
Top