using System; public class Test { public static void Main() { var s = Convert.ToString(0x53, 2); Console.WriteLine(new string('0', 8 - s.Length) + s); } }