ref out 垃圾回收与string类型的困惑

来源:互联网 发布:54捕鱼源码 编辑:程序博客网 时间:2024/05/17 09:05

1.是用ref还是用out


2.在某个函数中使用new string,那么传递变量时这个是否会被垃圾回收


3.string是引用类型还是值类型?