Talk:Escape character

From Wikipedia, the free encyclopedia

[edit] Examples?

This article could really use a few examples of WHAT exactly an escape character would look like in various programming languages. I mean, otherwise it could be difficult for the laymen to understand what exactly is meant here.

Would someone add some code samples please? Mzanime 17:50, 9 March 2006 (UTC)

[edit] @ in C#

The following ought to be added to this article at some point. Derek farn 16:11, 10 April 2007 (UTC)

The C# language offers a special notation called @-quoting, where an @ symbol is placed before the opening quotation mark of a string literal. Escape sequences in an @-quoted string are not processed, so that (for instance) the backslashes in @"C:\Foo\Bar\Baz\" are interpreted as backslashes and not as escape characters. Similarly, quotation marks may be included in an @-quoted string by doubling them: @"I said, ""Hello there."""

This article contains material from the Federal Standard 1037C, which, as a work of the United States Government, is in the public domain.