Look at it. NET video after the feeling. NET and the previously learned language have many similarities. Now just the coding rules, let's see what's different.
Each statement in the program ends with a carriage return, and a line writes a statement. If a line is not enough to write, you can continue writing at the end of the first line at the end of the "-" link. Eg:inputbox ("Please enter the content:",-"input Box",)Note: Some languages are required to end with a semicolon ";".
Second, the statement input is not case-insensitive. However, after VB.net is compiled into an intermediate language via the CLR, the conversion is done by the CTS, which is automatically done by the VB.net compiler environment. The entire. NET platform is case-sensitive. Eg:a and A are the sameNote: There are differences in the case of most languages.
three, in a row to enter multiple command statements are required to ":" Delimited. eg:a=a+b:c=c+bNote: Some languages are separated by a space "" character, and some languages are separated by commas ",".
Iv. There are two forms of annotations. 1. Single-line comment statement: The single quotation mark "'" begins, after which the comment content is added, which is generally used to interpret a statement. eg:Console.Write ("Result! ") ' Output resultsNote: Some languages are separated by "//".
2. Multiline Comment statement: begins with REM and is generally used to interpret classes and procedures, before classes and processes. Eg:rem This type of module is mainly used for ... Note: Some languages use/*...*/to annotate statement blocks. That's what I'm probably right about. Net of understanding, but also need a lot of advice. Of course, to solve her mysterious veil, but also need to slowly in-depth understanding ^_^
. NET "coding rules" small total