文章分类 - CSDN文章
摘要:假设在服务器端计算得到了一个数组s需要传递到JavaScript中的名为my_array的数组继续进行处理: protected int[] s;//protected or public is required 为了测试给s赋几个值: s = new int[100]; for (int i=0; i RealTime ...
阅读全文
摘要:第一个例子 public delegate void EatEventHandler(object sender, EatEventArgs e); 这个的定义也可以不要这样.可以直接就定义一个参数public delegate void EatEventHandler(string e); 但然用的时候的参数要相对应好 1using System; 2 3namespace nsEvent...
阅读全文