In C#, what's the best way to spread a single-line string literal across multiple source lines?

前端 未结 7 1539
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 18:19

Suppose that you have a lengthy string (> 80 characters) that you want to spread across multiple source lines, but don\'t want to include any newline characters.

One

相关标签:
7条回答
  • 2020-12-30 19:11

    When finding yourself in question on how to do multiline strings, you might be better of using a Resources file.

    0 讨论(0)
提交回复
热议问题