类层次结构和代码如下: 以及如何调用 GetInvocationList() 来查看 Main 函数中已添加的委托绑定了多少函数?
namespace Test
{
public class Program
{
public class SelectSet
{
public event SelectSet.AddedEventHandler Added;
public delegate void AddedEventHandler(object BusinessObject);
}
public class C1
{
public static SelectSet SelectSet;
}
static void Main()
{
}
}
}