Forum: IronRuby jagged array of 2D array

Posted by Casting Ray (Guest)
on 2011-04-07 00:44
(Received via mailing list)
Hi

I have a question about object creation of jagged array in IronRuby.

--------------------
C#

   double[][] csArray0 = new double[100][];
   double[][,] csArray1 = new double[100][,];

IronRuby

   irArray0 = 
System::Array.CreateInstance(System::Array.of(System::Double).to_clr_type,100)
   irArray1 = ???
--------------------

"csArray0" is a simple jagged array, so I could find the corresponding
code("irArray0").
"csArray1" is a jagged array of 2D array. I'd like to create
"csArray1" object in IronRuby.
Can someone help?

Mikami
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.