This worked for me: System::Array.CreateInstance(System::Object.to_clr_type, 5, 6)
Getting and setting works using x[1,2] as you'd expect Cheers! On Mon, Nov 30, 2009 at 1:44 PM, Curt Hagenlocher <cu...@microsoft.com>wrote: > You can create an array using the BCL by calling Array.CreateInstance. > >From C#, it would look like this: > > > > Array.CreateInstance(typeof(object), 5, 6)); // Equivalent to new > object[5,6] > > > > I don't have IronRuby on this machine and don't want to guess at the right > syntax. > > >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core