I would like to ask help how to implement a similar data structure as datatree.
I have a flatten list of custom class and would like to access items by pair of indices.
For instance item1 would have id 0 and 5.
Essentially a class that imolements Ienumerable, but instead of having indexing of integers, I would like to access items by pair of indices.
Or maybe more simple how can I extend a custom class with properties of Datatree?