📜  通过 ref c# 代码示例传递列表

📅  最后修改于: 2022-03-11 14:48:42.434000             🧑  作者: Mango

代码示例1
public void func(ref List list) {...}

List intList = new List { 1, 2, 3 };
func(ref intList);