algorithmic 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:
.ToArray()
.ToList()
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
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by