generative modeling for Rhino
Hello,
I have this problem:
Error: Value of type 'System.Collections.Generic.List(Of Object)' cannot be converted to 'System.Array'.
And I can't solve it, any help?
Thanks, Óscar.
Tags:
Permalink Reply by michael sprinzl on May 9, 2012 at 4:39am .ToArray()
.ToList()
Permalink Reply by Óscar Herrero on May 9, 2012 at 4:46am I don't understand you, can you be more specific?

If you have a List(Of T) and you need an Array of Ts, then you can call the ToArray() function on your list:
Dim list As List(Of Integer) = jfsjkskjfsdfasdf
Dim ints As Integer() = list.ToArray()
--
David Rutten
david@mcneel.com
Poprad, Slovakia
© 2013 Created by Scott Davidson.
Powered by