Skip to content

SunamoTwoWayDictionary

Dictionary where every key is value and vice versa


A bidirectional dictionary for .NET that maintains forward and reverse mappings, allowing lookup in both directions.

Overview

SunamoTwoWayDictionary is part of the Sunamo package ecosystem, providing modular, platform-independent utilities for .NET development.

Main Components

Key Classes

  • TwoWayDictionary - A dictionary maintaining bidirectional mapping between keys and values

Key Methods

  • Add(TKey key, TValue value) - Adds a key-value pair to both forward and reverse dictionaries

Installation

dotnet add package SunamoTwoWayDictionary

Dependencies

  • Microsoft.Extensions.Logging.Abstractions (v10.0.2)

Package Information

  • Package Name: SunamoTwoWayDictionary
  • Target Frameworks: net10.0; net9.0; net8.0
  • License: MIT

This package is part of the Sunamo package ecosystem. For more information about related packages, visit the main repository.

License

See the repository root for license information.