Basic C # Summary

Source: Internet
Author: User

Since the c # Video is used to aid the learning of the design model, the content of this part is also the same as that of VB. although it was difficult at the beginning. after accessing some examples and experiments. it becomes much smoother to understand. the following is a summary of c # basic content. A lot of content has been used in VB, so it is basic knowledge. sort the time brain. the data types, variables and constants, operators, process control, and program structure are described as follows. In the data type, the value type and reference type are mainly described (similar to byval and byref ). The conversion between the value type and the reference type is explained. The implicit conversion and explicit conversion are described in the conversion. Value Type and reference type conversion fashion box and unpacking operations. Variables and constants include the Declaration and use of variables and constants. All variables and constants must be declared first and then used. The use of variables and constants mainly depends on whether to assign an initial value to a variable or constant declaration. The content here is mainly a graph. My understanding is that these things do not need to be remembered, but will be understood slowly during use. If you use more, you will naturally become familiar with it. In process control, we mainly talk about loop control and branch statements. In the branch statement, if and switch (equivalent to select case) exist ). The syntax is similar to VB. There are classes in the program structure. Here we re-learn the object-oriented and process-oriented ideas. With such repeated explanations, our understanding is further deepened. The namespace mainly describes the role of namespace, mainly to prevent repeated names of classes. Cause trouble. Then there is a direct call and an absolute path call for how to call in different namespaces. C

Related Article

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.