Home  >  Article  >  Backend Development  >  A brief discussion on non-generic examples and detailed explanations

A brief discussion on non-generic examples and detailed explanations

零下一度
零下一度Original
2017-06-15 10:18:001374browse

System.Collections map, excluding generics (generic and non-generic are basically the same) System.Collections all classes: System.Collections: System.Collections.Concurrent: System.Collections.Specialized: System.Collections.ObjectModel :

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

A brief discussion on non-generic examples and detailed explanations

Introduction: System.Collections map, excluding generics (generic and non-generic types are basically the same) System.Collections map

2. C# Basic knowledge of basic knowledge (16) IList interface - non-generic

A brief discussion on non-generic examples and detailed explanations

Introduction: Now that we have learned about the ICollection interface, iteration, and generic collections, let’s take a closer look at the IList interface.

3. C# 2.0 Specification (generic four)

A brief discussion on non-generic examples and detailed explanations

Introduction: Generic methods are methods related to a specific type. In addition to regular parameters, a generic method also names a set of type parameters that need to be supplied when using the method. Generic methods can be declared in a class, struct, or interface declaration, and they themselves can be generic or non-generic. If a generic method is declared in a generic type declaration, the method body can reference the method's type parameters and contain the declared type parameters.

4. Generics in c

#Introduction: This article mainly talks about generics in c# Type, because generics play a very important role in C# and play a key role in writing highly readable and high-performance code. When I see many times that my team's code contains a large number of non-generic collections and implicit boxing and unboxing operations, I will suggest that they add a generic base

The above is the detailed content of A brief discussion on non-generic examples and detailed explanations. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn