I have a string that has angle brackets in it like this:
<element1>my text here</element1>
The string literally looks like this when I write it to console or my dataGridView or anywhere else. However, I'm trying to write this as part of an XML document.
Everything is fine except that in the xml file that is written, the above shows up as:
<element1>my text here</element1>
How do I get this to write out as my literal text instead of with the codes?
Thanks!
-Adeena