[IronPython] System.Array

J. Merrill jvm_cop at spamcop.net
Fri Sep 8 18:57:01 CEST 2006


Did you leave some part of your own question un-answered?  CreateInstance does just what you said you wanted to know how to do, doesn't it?

At 04:22 AM 9/8/2006, Kristof Wagemans wrote
>You can create an int array of length 3 with:
>System.Array[int]((1,2,3))
> 
>Is there an alternative syntax to create an int array of length 3 without passing in a tuple with 3 values? I know that I can create one with:
>System.Array.CreateInstance(int,3)


J. Merrill / Analytical Software Corp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060908/2750b784/attachment.html>


More information about the Ironpython-users mailing list