牛头不搭马嘴啊!
声明为:
public int fun2(string strsql, out string [,] ary, out int intcount)
使用时变成了:
fun2(strsql, ary, cnt);
应该是:
fun2(strsql,out ary,out cnt);“out tyte” 跟“type”不同,必须对号入座
声明为:
public int fun2(string strsql, out string [,] ary, out int intcount)
使用时变成了:
fun2(strsql, ary, cnt);
应该是:
fun2(strsql,out ary,out cnt);“out tyte” 跟“type”不同,必须对号入座
也就是说不仅在定义时需要指定 out,在调用时也要指定 out.多谢了.