Home > Backend Development > C++ > Is There a Generic OrderedDictionary in .NET?

Is There a Generic OrderedDictionary in .NET?

Patricia Arquette
Release: 2024-12-30 12:44:14
Original
877 people have browsed it

Is There a Generic OrderedDictionary in .NET?

Is there a generic version of the OrderedDictionary class?

Despite being useful, there isn't a generic implementation of the OrderedDictionary class in .NET 3.5.

Why?

The reason for this lack of implementation is not explicitly provided by Microsoft.

Are there any existing implementations?

Yes, there are implementations available to provide the desired functionality:

Custom Implementation:

Code snippets are provided for a custom implementation of a generic OrderedDictionary class, including the interface, implementation, helper classes, unit tests, and usage examples.

Is it part of .NET 4.0?

No, the generic implementation of OrderedDictionary is not part of .NET 4.0 or any later versions of the framework.

The above is the detailed content of Is There a Generic OrderedDictionary in .NET?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template