using System;
public delegate void ADelegate(int param);
public delegate int BDelegate(int param1, int param2);
public class Starter {
public static void Main() {
ADelegate del = delegate(int param) {
param = 5;
};
}
public int MethodA() {
BDelegate del = delegate(int param1, int param2) {
return 0;
};
return 0;
}
}
|