以下C#程序的执行情况是()。using System; namespace aaa { delegate void delep(int i); class
以下C#程序的执行情况是()。using System; namespace aaa { delegate void delep(int i); class Program { public static void Main() { funb(new delep(funa)); } public static void funa(int t) { funb(21); } public static void funb(int i) { Console.WriteLine(i.ToString()); } } }
A、代码中存在错误,delegate void delep(int i);不能定义在名称空间或者类之外
B、代码中存在错误,代码行funb(new delep(funa))使用委托错误
C、程序正常运行,输出为0
D、程序正常运行,输出为21