Formatting Strings

  • Thread starter Thread starter Ken Williams
  • Start date Start date
K

Ken Williams

I feel silly asking this, but just looking at C# after using C/C++

What do I now use instead of sprintf("%03d %-5s",int,string);

To format strings, it's probably obvious, but I cannot see it.

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top