1 public delegate void StringSender (string str
);
2 public delegate void VoidDelegate ();
6 public static void Main()
8 MainClass mc
= new MainClass ();
9 VoidDelegate del
= new VoidDelegate (delegate {
10 StringSender ss
= delegate (string s
) {
11 SimpleCallback(mc
, s
);
18 static void SimpleCallback (MainClass mc
, string str
)
20 System
.Console
.WriteLine(str
);