Questions tagged [toarray]

toarray, to convert from arraylist to array this method can be used. Being language specific for e.g. in Java its its available with ArrayList and in C# its used with List. Use this tag for toarray related questions.

toArray() Returns an array containing all of the elements in this list in the correct order.

Resource

136 questions
-5
votes
2 answers

Convert IEnumerable to int[] without ToArray()

How can I convert IEnumerable to int[] without ToArray()? I need a method or function that will work faster than ToArray(). I have one big int massive state and two small massive left and right using method's Take and Skip. Code: int[] left =…
Question
  • 33
  • 3
1 2 3
9
10