using System;
using System.Globalization;
public class Example
{
public static void Main()
{
int[] numbers = { -111, 0, 169, 11111 };
foreach (int number in numbers) {
// Display value with eight hexadecimal digits.
Console.WriteLine("{0,14:X8}", number);
}
}
}
/*
FFFFFF91
00000000
000000A9
00002B67
*/