By mswatcher
via frugalcoder.us
Published: Oct 26 2008 / 02:09
The real issue is seeing the above code all on one line, and with the various html markup intersperced with various object variables. It can be very difficult to follow, especially when you see all this one one line, or not very well broken up. This leads me to the happy little method known as String.Format(), which takes a format string as its' first parameter, and a set of objects as parameters to be formatted into the string. Below is the above example rewritten to use String.Format()
Comments
Jason Braucht replied ago:
Dead link...
Voters For This Link (7)
Voters Against This Link (2)