Forward slash (/); backslash "\".
What is the difference between a forward slash and a backslash? After a period of understanding
DOS path:
E: \ development materials \ ASP. NET advanced development... this is the role of the backslash followed by the file name
CSC/T: Library/R: system. web. dll/out: D: \ customhandler. dll d: \ customerhandler. CS... this means that the forward slash is followed by a command whose dir parameter is a command.
Windows:
Backslash \, used to represent directories in windows.
Forward slash/, URL, URL address. Eg http://www.cnblogs.com/zuoguanglin/
In Asp.net:
"../" Indicates the parent directory of the current directory, that is, the parent directory of the current directory;
"/" Indicates the root directory of the website;
In addition, many users prefer to use "E: \ test. cs" to obtain the file path. In this case, an escape character error occurs.
Solution: @ "E: \ test. cs"
Appendix: escape characters in C #
some common ones are as follows:
meaning of escape characters
\ 'single quotation marks
\ "double quotation marks
\ backslash
\ 0 blank
\ A warning
\ B Return
\ f tab
\ n line feed
\ r press ENTER
\ t horizontal tab
\ v vertical tab