Java attack C # -- Preface,
I remember that when I came to the current company three years ago, the company had no more than 10 people. At that time, I just came back from Japan and wanted to find a suitable development opportunity in Fuzhou, Xiamen and Qingdao. Finally, a friend of mine from Fuzhou called and hoped that I could help him and start a business with him. It's been three years since he started his own business. In the past, I realized that the company was originally developed with C. For Java, there is still some pressure in my heart. No way! It can only be switched to C. So I started my JAVA attack on C.
When I was in Japan, I had some knowledge about C # development. However, they do not have a deep understanding of C # related development knowledge points. So it's three years. I was wondering if I would have had the same experience with me, or I would like to see what C # is like (Java programmers of course ). So I want to try to write a series of knowledge about how I entered C # development. I have some experience in JAVA. For beginners of JAVA or. NET, I am afraid there may be some incomprehension. I can only say sorry for this. In one statement, the author wrote experience rather than teaching. If something goes wrong, please forgive me!
C # is also an object-oriented language. Therefore, the object-oriented thinking is also applicable to. NET. If I remember nothing wrong, C # and JAVA seem to have a complicated story. This may also make JAVA and C # Have a total phase of up to 80%. I have to say that if your JAVA learning is very advanced, C # You can use a week to learn it. The fastest way to learn a computer language is to find someone who has learned the language. Ask him about the knowledge points in the language. Then, I made a macro understanding of the language and divided the knowledge points (if the relationship is good, ask him to help with the Division ). For example, if JAVA is used, the official team has already helped you to divide it. I believe everyone knows that JAVA has three knowledge points. They are J2SE, J2EE, and j23. J2SE is basic JAVA knowledge and PC application development knowledge. J2EE is a WEB development knowledge. It is the knowledge of mobile phone activation. So what about C? Due to my limited experience. When I was learning, I did not see the macro division of knowledge. In some books, we can see that they divide C # into C # language, Window Programming, Web programming, database operations, and WCF programming. Whether it's JAVA or C #, you only need to understand the knowledge points you need to learn. That is, you can understand the next learning route. Well, I believe the readers also know what I am talking about. The C # language is similar to J2SE. This is the basic knowledge of C. I have also thought about this. I personally think that the knowledge of database operations should also belong to the basic knowledge. This is because windows or Web programming will be used.
In my current company, I often train new people. My teaching methods vary depending on new people. However, most of the routes will not change. If you have a good talent, you can get started with development within one month. If you are talented, it may take about three months. The following is my learning path.
1. Learn C # basic knowledge. Generally, I want to finish learning in a week. I believe that this part must be mastered. The content is as follows:
1. Basic data type
2. Judgment statement
3. Loop statements
4. Classes and objects
4. Collection classes and generics
5. Database Operations
2. Learn C # advanced knowledge. I do not know what to say about this part of content.
1. Development ideas such as three-layer architecture.
2. Linq and EF
3.Asp.net (I usually ask them to directly learn Asp.net MVC)
The above is the learning route for the author to train new people. Each stage requires corresponding small projects to be developed. The purpose is to enhance the understanding and application of the Code. Of course it is also the main line of this series of articles. Based on the above learning route, I will compare the two sides in C # and JAVA. I do not like writing articles. There is no major route.
We all know that JDK is required for JAVA development. I remember the first time I came into contact with version 1.4. Then, only a few are changed to 1.5. Now there are 1.8. The related new syntax is also added a lot. Of course, this is not important to us. The point is C # Is it the same as JAVA that requires something similar to JDK? No error. Yes. C # is called. NET Framework. Of course, JAVA is more annoying than C # When setting the development environment. C # You only need to install Microsoft Visual Studio. So what is Microsoft Visual Studio? I sometimes feel this way. Learning a computer language is equivalent to learning how a software tool is used. On the C # side, I feel more deeply. During JAVA Development, we usually use Eclipse, and some people use MyEclipse. However, I do not support MyEclipse. The main reason is that he uses money. Most Chinese companies are reluctant to spend the money. You can imagine it. C #'s development tool is Microsoft Visual Studio. Therefore, Microsoft Visual Studio is similar to Eclipse for JAVA development. All are development tools.
Okay. We already know the course we learned and the development tools we will use in the future. The author's learning environment is listed below
JAVA:
1. JDK 1.7
2. Eclipse for Java ee mars version
C #:
1. Microsoft Visual Studio 2013
2.. NET Framework 4.0
This chapter mainly defines the route and direction of this series of articles.