private void button1_Click (object sender, System.EventArgs e) {string LoadClassName = "LoadClass.Test"; Type type = Type.GetType (LoadClassName, true); object newInstance = Activator.CreateInstance (type); MessageBox.Show (newInstance. TSTRING ());}} public class test {public test () {} public string getStr () {return "test loadclass.";} Public override string toString () {return "test";}}