471,326 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

How to understand IFormattable argument

I saw the following code:

Console.WriteLine( "{0:#00;(#0);<zero>}", 0 );
Console.WriteLine( "{0:#00;(#0);<zero>}", 10 );

But, I don't know how exactly it works. Anyone explains this for me?

-trax
Jan 22 '06 #1
1 1618
have u read this article ?

http://msdn.microsoft.com/library/de...matstrings.asp

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
Microsoft .NET & Security MVP

"trax han" <tr******@gmail.com> wrote in message
news:Xn*********************@210.180.98.78...
I saw the following code:

Console.WriteLine( "{0:#00;(#0);<zero>}", 0 );
Console.WriteLine( "{0:#00;(#0);<zero>}", 10 );

But, I don't know how exactly it works. Anyone explains this for me?

-trax

Jan 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

51 posts views Thread by Richard Hengeveld | last post: by
20 posts views Thread by drM | last post: by
4 posts views Thread by Ron M. Newman | last post: by
8 posts views Thread by mohammaditraders | last post: by
3 posts views Thread by =?Utf-8?B?Y2xhcmE=?= | last post: by
2 posts views Thread by None | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.