今天第一天学习C#,有个传参的问题问一下大家!using System;namespace helloworld
{
/// <summary>
/// Class1 的摘要说明。
/// </summary>
class Class1
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main(string[] args)
{
//
// TODO: 在此处添加代码以启动应用程序
//
node x = new node();;
f(x);
Console.WriteLine("this is {0}",x.num);
}
static void f(node x) {
   Console.WriteLine("this is {0}",x.num);
x.num = 3;    
}
struct node{
   public int num;
}
}
}
我知道struct类型是值类型,我想知道在该程序中,参数x具体是怎么样传递的,在内存中又是怎么来实现的?