//传值,函数调用之后,变量值不变;
//传址,函数调用后,变量值发生改变返回给原变量;
//例:
public void juli(int a,out int b)
{
a=0;
b=0;
a++;
b=a+2;
}
static void Main(string[] args)
{
Program n = new Program();
int a = 10;
int b = 0;
n.juli(a,out b);
Console.WriteLine(a);
Console.WriteLine(b);
Console.ReadLine();