I am working on a general library which is going to be widely used in other applications. You can say that it is a kind of SDK library.
I need to implement a 2D collection implementation. It is going to be a generic template abstract class. So what are good practices for making a 2D array or collection. It is like a grid structure.
Here is what I have done for a 1D collection.
public abstract class BaseCollection<T> : Collection<T>
What should I do for 2D collection. [,] or something else.