RaidersClamoring Posted July 16, 2022 Share Posted July 16, 2022 I hope I'm missing something but is there really no way to declare and create an array doing something like this;int[] myArray = new {1, 2, 3, 4, 5, 6} Or maybe ([1], [2], [3], [4], [5], [6]) I know the syntax is wrong, this should be viewed as pseudocode, I hope you get what I mean. Because this int[] myArray = new int[6]myArray[0] = 1myArray[1] = 2And so on, is so damned slow. Link to comment Share on other sites More sharing options...
Recommended Posts