C # Face question summary (not completed)

Source: Internet
Author: User
Benefits of Generics:

1. You can guarantee type safety and avoid boxing and unboxing, and generic classes will be replaced by specific types at compile-time.

2. Let's take a ArrayList to say, ArrayList to do the unpacking operation, that is, ArrayList is an object, no matter what type you use, it will be converted to objects, so anyway, you need to do a sex coercion type conversion, and list< T> does not use object, but the type when it is defined, thus avoiding the unboxing of the container.

. NET garbage Collection

Jit

JIT (Just in time), which is the final machine-oriented compiler for applications that we build through the. NET compiler, so it's still necessary to get a sense of how the JIT works.

C # Face question summary (not completed)

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.