المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : String.Format



C# Programming
01-10-2010, 06:00 PM
Hi,
How can I get the number 123456789012
displayed as: 1234-5678-9012

I tried the following but it didn't work..
String.Format("{0:000-000-000-000}",123456789012);

Thank you.

We will either find a way, or make one!
(\ /)
(- .-)
C(''')(''')
(http://www.qsoftonline.com)