var newType = PythonType.Create("MyNewType", typeof(object));
var strType = PythonType.GetPythonType(typeof(string)); var typeName = strType.Name; var isSubclass = strType.IsSubclassOf(PythonType.GetPythonType(typeof(object)));This code retrieves the Python type information for the C# string type using the GetPythonType method. It then accesses information about the type, such as its name and whether it is a subclass of the Python object type. Package/library: IronPython.Runtime.Types is part of the IronPython library, which is a .NET implementation of the Python programming language.