int invocationCount = d1.GetInvocationList().GetLength(0);