I know this is kind of easy question but i cant seem to find it anywhere. Is there someone out there who knows how to create a soft return inside a set of text using C#.net?
I need to print soft return to a text file/xml file. this text file will be generated using c#.net. you could verify if the answer is correct if you use NOTEPAD++ then enable the option to “View>Show Symbol > Show End of Line” then you will see a symbol like this:
Thanks in advance :)
CR
was ASCII 13 andLF
was ASCII 10 (0x0D
and0x0A
respectively). I'm not positive my memory is right, though; it's been ages since I had to deal with that stuff, which is why I'm not posting it as an answer. I'm alsn not sure that's what you're really looking for; I think what you're looking for is an embedded return (CR/LF) in the csv file.#141
to the string; not sure how to do the same in C#). Perhaps someone else can demonstrate that in an answer. :-)(char)141
;