如下声明使用:static void inPut(ref phoneBook pb)
{
……
}

static void Main()
{
phoneBook PB;
inPut(ref PB);

}
在c#里用ref关键字代替c++里的&


相关文章: