Thursday, January 10, 2019

CrossRefCollection - Add A Multi-Dimensional Dictionary Collection To The Language

I’m building a library to identify audio encodings used in a byte stream and there’s a lot of look-up tables required to determine bit rates, sample sizes, and so on. So, I decided to build a little extension to System.Collections.Generic that creates a multi-dimensional Dictionary collection that allows for strongly typed row/column keys and data values accessing data by a multi-parameter indexer function.

source https://www.c-sharpcorner.com/article/crossrefcollection-add-a-multi-dimensional-dictionary-collection-to-the-langua/

No comments:

Post a Comment