public static string Static_RefIntToString_Multicast(int value) { var dlg1 = new RefIntToStringDelegate(Static_RefIntToStringImpl); var dlg2 = new RefIntToStringDelegate(Static_RefIntToStringImpl); dlg1 += dlg2; var v = value; return(dlg1(ref v)); }
public static string Combination_RefIntToString_Multicast2(int value) { var inst = new MulticastDelegateTypes(); var dlg1 = new RefIntToStringDelegate(inst.Instance_RefIntToStringImpl); var dlg2 = new RefIntToStringDelegate(Static_RefIntToStringImpl); dlg1 += dlg2; var v = value; return(dlg1(ref v)); }