Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ruby-csharp_script sample #7
require 'win32ole'
csharp_script ='ruby.csharp_script.CsharpScript')
code = <<"EOS"
new int[] { 1, 3, 5, 7, 9 }
result = csharp_script.EvaluateAsync(code)
p result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment