How to specify long string literals in Visual Basic .NET?

前端 未结 3 1835
南旧
南旧 2020-12-17 03:43

Is there a way to conveniently store long string literal in Visual Basic source? I\'m composing a console application with --help printout let\'s say 20 lines l

3条回答
  •  借酒劲吻你
    2020-12-17 04:28

    In VB.net you can simply write "& _" at the end of your string literal to have multi-line strings.

提交回复
热议问题