Through plugin (which is in ruby) calling any dll's( C# or C++)

Hello, As i know we can create Extension in SketchUp through ruby code which take .rb or .rbz file to add plugin through extension manager.
So through ruby code ,I want to call my project (methods or functions) which is in C# (dll’s) is their any way to call for same.
Thanks In Advance

I have no experience but:

" Ruby C Extensions within SketchUp

Ruby itself allows you to work with Ruby code via C (and C++). This allows for more complex functionality and possible performance improvements. We provide examples on how to create Ruby C Extensions that work with various SketchUp versions and platforms: "

You can use the Fiddle library: