out与ref的区别时间:2023-03-08 16:12:07out与ref的区别 前者传参时不必初始化,后者需要初始化 int a,b; public void fName(out int a,out int b); fName(out a , out b);