Instantiating a python class in C#

IronPython classes are not .NET classes. They are instances of IronPython.Runtime.Types.PythonType which is the Python metaclass. This is because Python classes are dynamic and support addition and removal of methods at runtime, things you cannot do with .NET classes. To use Python classes in C# you will need to use the ObjectOperations class. This class … Read more