/CSharpMap

Implementation of Map in CSharp

Primary LanguageC#

CSharpMap


Implementation of Map in C#


Introduction

The goal is to make a two way dictionary in C#.

First off, inputting a key gives a value from the dictionary, like from a normal one.

But here, you can input a value and get a key.

You could do this with the basic dictionary, but you would need to duplicate the entry.


SimpleMap


The goal is to have one file that you can paste in your project, and that's all.

Simple map working with two lists, so a pair of key-pairs are in the same place in the two lists.

SimpleMap are an implementation of the ISimpleMap Interface.

ISimpleInterface implements ICollection with KeyValuePair for iteration in a foreach loop.

Other Interfaces may be implemented in the future.


Map


Work in progress.