I'm converted an old Vb6 project over to .net and I can't for the life of me figure out how to get a string formatted like I want. Basically the phone number is stored in the format xxxxxxx and I want ...
I love the String object's Format method. It's an unusual application where I'm not using it to build messages. (Long ago and far away, I used to use it to assemble SQL statements.) Typical code looks ...
Developers (including you) benefit when you provide a string representation of your class. By implementing IFormattable, you can take control of this representation and provide some flexibility.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results