Carriage Return/Line Feed in .Net Resource File (App_GlobalResources)

I used VB.NET Express Edition to test this. In the resource editor (where you can specify the name of the resource and string content) put the string content separated by Shift+Enter. Lets say you want to type in hello world Type “hello” followed by Shift+Enter and “world”. If you look at the Resources.Resx file (which … Read more

What are carriage return, linefeed, and form feed?

Carriage return means to return to the beginning of the current line without advancing downward. The name comes from a printer’s carriage, as monitors were rare when the name was coined. This is commonly escaped as “\r”, abbreviated CR, and has ASCII value 13 or 0xD. Linefeed means to advance downward to the next line; … Read more

Difference between \n and \r?

In terms of ascii code, it’s 3 — since they’re 10 and 13 respectively;-). But seriously, there are many: in Unix and all Unix-like systems, \n is the code for end-of-line, \r means nothing special as a consequence, in C and most languages that somehow copy it (even remotely), \n is the standard escape sequence … Read more