可返回多个值,需要早函数外声明字段,通过函数修改字段值private void TestFunc1(ref string key, ref int value) { key = "key"; value = 1; } ...
確定! 回上一頁