VB multiline string as XML Literals

Probably known by most programmers, but I want to document it so I can find it myself later.

An easy way to create a multiline VB string is to create a xml literal and use the value

Dim myTest = <string>Here is a multi
line string that I want to use in
some other code.  It
helps the readability and
cut and paste functionality.
Even if this is a poor example

Dim strInside as string = myTest.value
Print | posted on Wednesday, August 22, 2012 10:11 AM