When you declare a delegate in class A, you declare it as a subtype of class A. So it is of type ClassA.SendInfo , for example. In class B you can use
public void SetDelegate(ClassA.SendInfo sendinfo)
Alternatively, declare the delegate outside the code for class A, then it will just be a different type that you can reference by name ( SendInfo ).
Kieren johnstone
source share