· A special character constant;
· Starts with a backslash "\", followed by one or several characters.
· It has a specific meaning. It is called "escape" because it is different from the original meaning of the character.
· It is mainly used to indicate controls that are not easily expressed with general charactersCode.
· Its function is to eliminate the original meaning of the character following it
· Use a combination of some common characters to replace some special characters. Because the combination changes the meaning of the original character representation, it is called "escape"
· Use visible characters to indicate invisible characters. For example, '\ n' indicates line feed.
Common escape characters and their meanings:
\ 'Single quotes
\ "Double quotation marks
\ Backslash
\ 0 null
\ A warning (generate a peak)
\ B Return
\ F form feed
\ N line feed
\ R press ENTER
\ T horizontal Tab
\ V vertical Tab
In C #, @ indicates:
In C #, "C: \ Temp" indicates that the path is c: \ Temp, while @ "C: \ Temp" indicates c: \ Temp. Therefore, @ should be used to ignore escape characters.