|{0,10:X}|{1,10}|{2:X}|{3}|
public class MainClass { public static void Main() { int i = 250662; string s = string.Format("|{0,10:X}|{1,10}|{2:X}|{3}|", i, i, i, i); } }