Article 1Basic knowledge accumulation
1. vs Development Environment Construction
C # It is generally better to use vs2010. This software is generally used in the industry. On the other hand, it is basically consistent with the software used for some online troubleshooting and tutorials. Of course, you can also use the latest vs2012-2014, how to build, it is recommended to find a few days to learn vs this kind of tutorials to see at a glance, plus the late learning C #, Web programming, it is easy to operate.
II. C # BASIC Program Structure Knowledge Accumulation
The learning process is to read books, but the memory is normal, but because of its project nature, there is not much time to spend here, so you must remember something in your own way. Here, I use the form of program code snippets to learn, because every day is against such structures.
(1) BASIC program structure
0. Reference: Using namespace. Class. object;
1. namespace: namespace spacename {...
2. Note: // here is the namespace/* here is the multi-line comment */
3. Class: public class classname {...
4. main method of program entry: static OID main (string [] ARGs ){... Console. writeline ("123 ");}
// The main method must be a static method.
5. Other Program Methods:
Keyword tag method name {}
Keywords: Class, static, void modifier word of special meaning of Object
MARK: Mark of the object (not a keyword );
Today there are so many copies that it is not easy for a non-computer major student to learn.
C # Study Notes for non-computer professionals