Processing a multidimensional data structure in .Net 3.5 and higher

I want to build a 2-dimensional (not dangling at this point) array of objects.

I can easily build a 2-dimensional Array [,] and will do it if it is the best option available, but tended to avoid arrays in favor of the extended functionality of the .NET List and Dictionary structures.

I could also use List <List <T β†’> to store a 2-dimensional array, but wondered if there were any best practices or implemented data structures in .NET 3.5 or higher to handle typed 2-dimensional structures with more flexible / comprehensive functionality than an array?

I'm not interested in SSAS / OLAP style answers.

+3
source share
3 answers
  • , . , .
  • , ..
+1

Tuple .NET 3.5. Tuples .NET 4.0, :

+1

CLI. , "SzArray" (, 0 ) . , int[]. , , (- ) .

, , , . , . , ( , ).

+1
source

Source: https://habr.com/ru/post/1713107/


All Articles