[Ironruby-core] How to instanciate a System::String[] from IronRuby?

Thibaut Barrère thibaut.barrere at gmail.com
Thu Apr 2 10:35:59 EDT 2009


while trying to call some C# code from IronRuby, I get this:

my_csharp_class_instance.call(%w(some array))

:0: can't convert Array into System::String[] (TypeError)

Is there some easy way to construct an array of System::String ? Or a
conversion ?


-- Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090402/a0a72bc6/attachment-0001.html>

More information about the Ironruby-core mailing list