For example, imagine a script block similar to the following:
Without using string literals, you’ll need to do something like the following:
" $('#divToShow).show();" + Environment.NewLine +
" $('#divToHide).hide();" + Environment.NewLine +
Using string literals:
It may look subtle, but using string literals throughout the development of my extensions has made things much easier to enhance, refine, and (gasp!) debug.
What do you think?