IronPython communicate with donet

1: access donet framework.

import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import Form

my_form = Form()


2: access third donet library

import clr
import sys
sys.path.append(r"c:\dev")  #set the path where store the dll
clr.AddReferenceToFile("Hello.Dll") #set the dll filename

from HelloDLL import Hello


namespace HelloDLL
{
    public class Hello
    {
        public static int MethodRef(ref int i) { i = 1; return 2; }
        public static int MethodOut(out int i) { i = 1; return 2; }
        public static int MethodParams(params object[] values) {  return values.Length; }
        
    }
}