The characters are enclosed in quotation marks. \ must be added before the quotation marks, for example, "\" mygame \""
{0} in console. writeline ("{0} {1}", mystring, myinteger) // represents the placeholder of mystring, and {1} is the placeholder of myinteger.
Escape Character Table: (The following is the generated character)
\ 'Single quotes
\ "Double quotation marks
\ Backslash
\ 0 null
\ A warning (audible)
\ B Return
\ F form feed
\ N line feed
\ R press ENTER
\ T horizontal Tab
\ V vertical Tab
In a string with a double slash, add @ to the front, such as @ "C: \ temp \ doc \ myfile.doc"
1 C # debugging to enable the error to be reversedCode:
2 Try
3 {
4 .
5 }
6 Catch (Exception E)
7 {
8 Console. writeline ( " Fuck you! Shit " ); // Custom Information
9 Console. writeline (E. tostring ()); // When exception e is added, the system error details are displayed.
10 }
C # Boolean expression:
= Equal! = Not equal to <less than> greater than <= less than or equal to> = greater than or equal
! & All | or ^ one of them & if all | or one of them
Lowercase statement: object. tolower ()