Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6744915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:08:28+00:00 2026-05-26T12:08:28+00:00

I am in need of a Generic collection that is somewhere in between a

  • 0

I am in need of a Generic collection that is somewhere in between a Dictionary and LinkedList. I want to be able to:

  • Access elements by key
  • Access previous and next elements

I’ve taken a look at the provided Generic collections as well as the specialized collections. I haven’t really found what I’m looking for, the closest collections were OrderedDictionary and SortedDictionary.

A quick Google found the following potential collections:

  • LinkedDictionary – http://www.glennslayden.com/code/c-sharp/linked-dictionary
  • C5 collection (supports Hashed linked lists) – https://github.com/sestoft/C5/

Each seems like it could be a good fit. However, I wanted to ask the gurus at SO what their suggestions would be.

So gurus, what are your suggestions? Have you used these collections or other collections to accomplish these or related goals? Is there something blatantly obvious that I should be looking at and am just missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:08:28+00:00Added an answer on May 26, 2026 at 12:08 pm

    I think you found your own answer; C5 is good library and has what you are looking for, it has great documentation and tests. Oh, and it’s available via Nuget.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use a generic collection like Dictionary , but Dictionary requires that
i have a Generic.Collection.List and Generic.Collection.Dictionary like List<String> MyList Dictionary<String, List<String>> MyDictionary I need
I need a collection that works just like a Dictionary/Hashtable in a sense that
I need to write a generic procedure that set value for one column or
I need a generic collection class which I can add to, and enumerate over.
I need to have a collection of generic functions, but I can't get it
Generic Methods in general are new to me. Need a method that returns a
I need to convert an object to a generic collection, look: var currentEntityProperties =
I have a ListView bound to a Generic List collection. I need to be
I have a generic collection that contains a method that the items in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.