[This post is part of a series, "wish-list for future versions of VB". Just to note, I've been reading everyone's comments -- thank you everyone for the feedback -- but I want to finish putting up the entire list before I get round to responding.]

 

IDEA: Multiline strings. VB should allow multiline strings:

        Dim s = @"This is a multiline string

which can include line-breaks

and\ttab\nescape character and < and > and &"

 

Note VB already has other ways to write multiline strings:

        Dim t = <![CDATA[this is a multiline string

which can include line-breaks

not escape characters but it can do < and > and &]]>.Value

 

        Dim u = <xml>this is a multiline string

which can include line-breaks

and&#9;tab&#13;&#10;escape characters but not &lt; or &gt; or &amp;</xml>.Value

 

Provisional evaluation from VB team: This is a decent idea, worth considering against the other decent ideas.