2015.4.7-c# Basics of entry (i)

Source: Internet
Author: User

I. Features of the. NET Framework

1. Two main components 1> the CLR represents the runtime environment, while also ensuring that one of the languages in. NET has the same functionality as other languages;

2> a unified class library set

2.MSIL: My understanding is that the program-jit compiler (MSIL)-clr

Two. C # features

1. First is the main programming language on the Windows platform, all products are developed by a Microsoft company, so the inheritance is better

2. Advantages: Elegance is the code compared to people to understand, more clear; modern; object-oriented; type safety

3. Type:1> value type char, int, float, double,bool; must be initialized before use

2> Reference type String class

Two types of differences: Each value type is a separate memory, and the reference type is a common chunk of memory

4. Defining variable characteristics:1> must start with a letter or _

2> cannot have symbols, no limit to the length of characters

3> can only be unique, not repeatable

4> keyword cannot be used as a variable name

5.console.writeline and Console.Write are different

The former output information after the line, the latter output information does not wrap

Console.ReadLine and Console.Write are different

The former reads the information and saves the data; the latter only obtains information

This time briefly introduce the basic concept, will talk about each of their own methods of use!

2015.4.7-c# Basics of entry (i)

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.