[IronPython] System.Array

Kristof Wagemans kristof.wagemans at gmail.com
Fri Sep 8 10:22:22 CEST 2006


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)

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060908/8980057e/attachment.html>


More information about the Ironpython-users mailing list