I have the following array:
private int[,] testSamples = new testSamples[101,101];
It is assumed that it is a list with a column from 0 to 100 and a line from 0 to 100. In these lists, various chemical liquids are discarded. The person I do this with wants to work in such a way that he can take care of the container with the most liquid in it in the first place.
So, I need to get the data and print it like this:
testSamples[35,40] = 12
testSamples[11,12] = 11
testSamples[92,14] = 10
testSamples[18,3] = 10
testSamples[1,61] = 7
...
For instance. I came across this issue several times on this issue, I looked at some other issues here in StackoverFlow, but I can't get them to work.
Is there a way to do this, or should I discard arrays and switch to another kind of container, like ArrayLists or List?