. NET Basic Technology Summary

Source: Internet
Author: User

. NET Foundation Technology SummaryI. . NET that I know

First entry . NET, I do not know that I am learning the . NET knowledge, just think is to learn a new language C #, in the subsequent learning of the C # language is a Microsoft company published an object-oriented, running in . Net High-level programming language above the framework, in short . NET is a group of software products, technologies, or services that Microsoft provides a seamless connection to information, people, systems, and devices, with WEB service as its core.

ii. knowledge ofC # PrimerThe 1.c# statement ends with a semicolon, and you can write multiple lines without the need to continue the line symbol. 2. Single-line Comment://Multiline Comment:/* Content * / 3.c# statements are case-sensitive4. Namespaces

He is a combination of all types related to a particular feature to avoid class name collisions.

5. String Common operations① string Addition

Example:System.Text.StringBuilder sb=new System.Text.StringBuilder ();

Sb. Append ("Zhonghua ");

Sb. Append ("People ")

② clear spaces before and after a string

String str= "China ";

Str=str. Trim;

③ Replacement string: String variable. Replace (replaces the original string with a new string)

String str= "China ";

Str=str. Replace ("Country ", "Central ");//Change the word "country" to "central"

Response.Write (str);

④ three ways to delete the last character of a string

⑤ the method of obtaining random numbers

Third, object-oriented1. Inheritance

2. Delegation

3. Events

4. Reflection

. NET Basic Technology Summary

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.