using System; public class Program { public static void Main() { int num = 50; string paddedNum = num.ToString().PadLeft(5, '0'); Console.WriteLine(paddedNum); } }