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

Tomas

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

Hi,

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.
----------------------------
Shay Friedman
http://www.ironshay.com
Follow me: http://twitter.com/ironshay
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to