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
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
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)
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.
#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!