Quantcast
Channel: Answers by "Mike 3"
Viewing all articles
Browse latest Browse all 60

Answer by Mike 3

$
0
0
I don't think you can - there's no cast operator I would honestly skip on using Array, it's untyped and will cause a fairly large amount of garbage when boxing/unboxing your ints Instead, use a List., like so: import System.Collections.Generic; private var possibleIndices = new List.(); You can then use .Add to add things in, and access items with possibleIndices[i] as before

Viewing all articles
Browse latest Browse all 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>