[Ironruby-core] jagged array of 2D array

Casting Ray raycasting at gmail.com
Wed Apr 6 18:16:05 EDT 2011


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


More information about the Ironruby-core mailing list