Ejemplo n.º 1
0
 static public void odd(List <int> l, Program.del d1)
 {
     //referencing the odd function to the delegate object
     //removing the even method from the delegate
     d1 += delegate_method_odd;
     d1 -= delegate_method_even;
     d1(l);
 }
Ejemplo n.º 2
0
 static public void even(List <int> l, Program.del d1)
 {
     d1(l);
 }