. Net C # self-taught diary Class Object attribute method package concurrency multi-thread Polymorphism

Source: Internet
Author: User

Ah ~ Speechless

I know a lot of things apart, and I don't know them together.

Take notes honestly and accumulate learning.

Today, I have my own ideas. These simple things are designed to make yourself a habit.

 

Class, not to mention the abstraction of a group of common things;

The object is a class instance;

References are indexes of objects;

Attributes are the characteristics of a class;

A method is a class action;

A package is a namespace.

 

Eg:

Headers, hands and feet (attributes)

These things that can walk (methods) are called

Person (class );

James (object) is a person (class );

James's name (reference) is unknown;

Chinese (BAG) Foreigners (BAG) are people (class );

 

Polymorphism. Long shengjiu Zi. Sub-child is different.

Dragon has a virtual method, but it should be implemented by the son.

 

Multithreading is a means of concurrency, and the current technology does not seem to need to be too clear about the two points.

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.