본문 바로가기

Program/C

Console.WriteLine

Console.WriteLine("your account (0:C},{1:X}", 100, 200);

>your acount $100  C8

Console.WriteLine("your account (0:C10},{1:X9}", 100, 200);

>your account $100.0000000000 0000000C8


string str,
str  = String.Format(();
str = Console.WriteLine("your account (0:C10},{1:X9}", 100, 200);

>your account $100.0000000000 0000000C8

'Program > C' 카테고리의 다른 글

C기초  (0) 2007.10.30
예외처리 try{} catch{}  (0) 2007.10.30