I'm in trouble with a BitArray.
The goal is to simulate a stack of 8 80bit BitArrays, numbered from 0 to 7.
I just need to be able to access them by index, and so I think a simple array will be enough for me.
When initialising a BitArray object, I need to specify the number of bits it will contain, which gives me
BitArray test = new BitArray(80);
How can I do an Array of it, knowing I need to specify the length value?
I've tried several things, like
BitArray[] stack = new BitArray(80)[];
but I always get an error when trying to give it the length...
Any thoughts?
Thanks in advance