Does C# provide an equivalent to '\n' for denoting a page break?

c#, format, string

Solution

The is the form-feed ("FF") character:

string formFeed = "\f";

If there wasn't an pre-defined escape sequence for it, you could also use the fact that it is ASCII value 12, hex `C`, hence:

string formFeed = "\xC";

But: it depends on whether this character is used by your UI. Most UI devices will not do anything special with this character.

Problem

Is there a letter I can locate next to a `'\'` in order to break a page? Like `\n` is for line break or `\t` for tab.

Original source