a note about string Concatenation
Some of you read that code and are thinking to yourself, “String concatenation!?
Are you kidding?” Yeah, we could use a StringBuilder, but for a small number
of concatenations, concatenating a string is faster than instantiating and using a
StringBuilder. This just goes to show that before jumping to performance conclu-
sions — measure, measure, measure. If you end up using this with a large number
of items, you would probably want to change the implementation.
professional asp.net mvc 2