C# 笔记(四)关于引用 如下声明使用:static void inPut(ref phoneBook pb) { …… } static void Main() { phoneBook PB; inPut(ref PB); } 在c#里用ref关键字代替c++里的&