I used VB.NET Express Edition to test this.
In the resource editor (where you can specify the name of the resource and the contents of the string), put the contents of the string, separated by Shift + Enter .
Suppose you want to enter
hello world
Type hi, then Shift + Enter and Peace.
If you look at the Resources.Resx file (which is an XML file), you will see that it creates a node with the xml:space="preserve" attribute.
Second option
In addition, you can manually edit Resource.resx and change the contents located in the CDATA section.
Suppose you have a string named "example". Locate it in Resource.resx and modify the contents to have a CDATA section inside it against a simple value.
eg.
<data name="example"> <![CDATA[ hello world 1 2 3 4 ]]> </data>
shahkalpesh May 31 '09 at 6:49 a.m. 2009-05-31 06:49
source share