Console.WriteLine ("Hex: {0:X}", nNum);
The X formatter outputs uppercase hex chars. Use a lowercase x for lowercase hex chars.
Console.WriteLine ("Hex: {0:X}", nNum);
The X formatter outputs uppercase hex chars. Use a lowercase x for lowercase hex chars.