A brief discussion on the examples of non-generics

Source: Internet
Author: User
System.Collections, non-generic (generics and non-generic basic) System.Collections all classes: System.Collections:System.Collections.Concurrent: System.Collections.Specialized:System.Collections.ObjectModel:

1.. NET Framework-collection-related mind map sharing for all classes

Introduction: System.Collections, non-generic (generics and non-generic basic) System.Collections guide diagram

2. Fundamentals of C # Basic Knowledge collation (+) IList interface-non-generic

Summary: Learn about the ICollection interface, iterations, and generic collections, and learn more about the IList interface below.

3. C # 2.0 specification (Generics IV)

Summary: A generic method is a method that is related to a particular type. In addition to the general parameters, the generic method also names a set of type parameters that you need to provide when using the method. Generic methods can be declared in class, struct, or interface declarations, and they can themselves be generic or non-generic. If a generic method is declared in a generic type declaration, the method body can reference the type parameter of the method and the type parameter that contains the declaration.

4. Generics in C #

Summary: This article focuses on generics in C #, because generics have a very important place in C # and are critical for writing high-readability, high-performance code. When I see my team's code more than once to contain a large number of non-generic collections, implicit boxing and unpacking operations, I would advise them to complement the generic base

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.