using System;
using System.Globalization;
public class Example
{
public static void Main()
{
int value;
value = 12345;
Console.WriteLine(value.ToString("D"));
Console.WriteLine(value.ToString("D8"));
value = -12345;
Console.WriteLine(value.ToString("D"));
Console.WriteLine(value.ToString("D8"));
}
}
/*
12345
00012345
-12345
-00012345
*/