Forward slash, symbol is "/", backslash, symbol is "\".
have been very puzzled what is the difference between a forward slash and a backslash? After a period of understanding, it is concluded that
DOS Path:
E:\ Development Data \asp. NET Advanced Development ... This is the backslash, followed by the file name.
Csc/t:library/r:system.web.dll/out:d:\customhandler.dll D:\CustomerHandler.cs ... This is the argument that the forward slash is followed by a name order dir is the command.
Windows system:
Backslash \, used in Windows system to represent the directory.
Forward slash/, URL, url address. eg:http://www.cnblogs.com/zuoguanglin/
In asp:
".. /"represents the parent directory of the current directory;
"/" means the root directory of the website;
In addition: A lot of people like to use "E:\test.cs" when getting the file path, and an escape character error occurs at this time
Solution: @ "E:\test.cs"
Also attached: C # in \ is an escape character
Some of the common ones are as follows:
Escape character meaning
\ ' Single quotation mark
\ "Double quotation marks
\ \ counter Slash
Air
\a Warning
\b Backspace
\f Page Change
\ nthe line break
\ r Enter
\ t Horizontal tab
\v Vertical Tab
Forward slash (/) differs from backslash (\)