. NET "encoding rules",. net encoding rules
After watching the. NET video, I feel that. NET has many similarities with the language I have learned. Now let's look at the differences in coding rules.
1. Each statement in the program ends with a carriage return and writes one statement in one row.If a row is not written enough, you can end the row with a hyphen (-) at the end of the first row to establish a connection and write another row. Eg: inputbox ("Enter the content:",-"input box") Note: Some languages must end with a semicolon.
2. Statement input is case-insensitive.However, in VB. NET is compiled into an intermediate language through CLR or type conversion through CTS. This conversion involves VB. NET compilation environment is automatically completed. whole.. NET platform is case sensitive. Eg: a and A are the same. Note: Most languages are case sensitive.
3. Multiple command statements must be separated.Eg: a = a + B: c = c + B Note: Some languages are separated by space "", and some languages are separated by commas.
4. There are two forms of annotations.1. Single-line comment statement: It starts with a single quotation mark (') and is followed by a comment. It is generally used to explain a statement. Eg: Console. Write ("result! ") 'Output result note: some languages are separated.
2. Multi-line comment statement: It starts with REM and is generally used to explain classes and processes. It is placed before classes and processes. Eg: REM this module is mainly used... Note: Some languages use/*... */to comment statement blocks. The above is my understanding of. NET, and you need more advice. Of course, to unlock her mysterious veil, you still need to learn more about it later.