I have a class library I created in IronPython Studio, I wanted to then take that dll and use it in a C# project, I think I'd need IronPython still somehow, but I honestly can't figure out how to do it, I've read a lot, I've imported the dll into my C#
project, I can see the functions and classes I've made, C# recognizes them as "fields" but I don't know how to create an instance of the class or call the functions, can anyone help me out?
I figured out how to get some use out of it.
>>>import clr, sys, IronPython
>>>x = clr.LoadAssemblyFromFile("simpleLibrary")
>>>y = x.Class.Class()
that's from my ironPython session
here's the code for "simpleLibrary"
"Description of Class"
things might need to be done somewhat differently if it's from C# but I'll worry about that later, for now I'm gonna get more complicated assemblies to work in IronPython