Error binding to target method in C#3.0
问题 I am trying to hook Up a Delegate Using Reflection. This is what I have done so far using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Data; using System.Threading; using System.IO; using System.Reflection; using System.Windows; namespace ChartHelper { public class ICChartHelper { public void RefreshChart() { try { Assembly myobj = Assembly.LoadFrom(@"C:\sample.dll"); foreach (Type mytype in myobj.GetTypes()) { if (mytype