使用out和ref参数时的装箱和拆箱 [英] Boxing and unboxing when using out and ref parameters
本文介绍了使用out和ref参数时的装箱和拆箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当方法接受ValueType的out/ref参数时,装箱/拆箱会发生吗?
Does boxing/unboxing occur when a method accepts an out/ref parameter of a ValueType?
推荐答案
查看全文