[Ironruby-core] Creating a .Net Array in IR

Tomas Matousek Tomas.Matousek at microsoft.com
Fri Jun 12 03:53:10 EDT 2009

System::Array.of(System::Char).new(10) instantiates an array of 10 characters.


-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Shay Friedman
Sent: Friday, June 12, 2009 12:28 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Creating a .Net Array in IR


I'd like to create a .Net array of a certain type inside IronRuby. It's
needed, for example, for the overloads method.
For instance, try to retrieve the String.Trim(Char[]) method overload
from IronRuby... how do you achieve that?

Many thanks,
Shay Friedman
Follow me: http://twitter.com/ironshay
Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list