C # initial contact

Source: Internet
Author: User

Like many beginners, when I first came into contact with C #, I was confused. After learning for a long time, I was confused about some basic names. What is C #? What is. net? What is visual studio? What is the relationship between them? Let's start with these questions to explore C #.

I have found a God-class answer to the above questions. If we compare developing software to writing Chinese characters, visual studio is a pen ,. net is the paper, C # is the writing rules of Chinese characters, and so on, we can follow the C # rules, use vs in. net.

After understanding these questions, we can start with the basic knowledge of C #. Since it is a language or programming rule, so we can have some connection with the vb we have learned before. These two languages are bound to have similarities and differences. Starting with these similarities and differences, we can understand them more easily. Below is my summary of the similarities and differences between the two languages in terms of language basics.

Through comparison, it is found that they are a little different in the language environment, basic structure, and data types and operators. C # is also developed by Microsoft, but vb is an object-based development language, C # is a fully object-oriented development language. C # It also improves the data type, introduces the value and reference data type, and adds the namespace and Assembly content in the basic structure. Compared with the traditional program control structure, C # has not changed much. It continues to follow the three traditional control structures, including sequence, selection, and control, but the process control statements are not the same. In terms of operators, it has also made innovations, added overflow, compatibility judgment, and other keywords. The following is a graph of C # learning process:

The trigger in the database. When the program runs to a certain step, this event is triggered.

Exception Handling: similar to other object-oriented programming languages, when a program encounters exceptions (network problems, file loss, etc.), the program can handle the exceptions by itself.

Written here, even if the preliminary introduction of C # is completed, C # Will be used to write some programs, and the understanding of C # will be more profound.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.