using System;
class Program
{
static void Main()
{
String str = "1234";
Console.WriteLine(">" + "1234567890");
Console.WriteLine(">" + string.Format("{0:D10}", Convert.ToInt64(str)));
}
}
/*RESULT--------------------------------------
>1234567890
>0000001234
---------------------------------------------*/
'c# 언어' 카테고리의 다른 글
int restult = rc.RPush("QCS", bytes); (0) | 2022.01.12 |
---|---|
string[] split = str.Split('.'); (0) | 2022.01.04 |
this.Text = "베트남어: Ti?ng Thai"; (0) | 2021.12.25 |
From FindWindow(), This Application is Detected!! The KeyWord is Below String (0) | 2021.12.25 |
IntPtr _result = SendMessage(tailHandle, WM_COPYDATA, (IntPtr)index, sendData); (0) | 2021.12.25 |