Why would you ever want an array with all the values of an enum? It would logically be the same as having an array with the index as the value for each position in the array e.g. [0,1,2,3] where the index = value at index position.
Why would you ever want an array with all the values of an enum? It would logically be the same as having an array with the index as the value for each position in the array e.g. [0,1,2,3] where the index = value at index position.