您是否需要处理对象并将它们设置为null,或者当垃圾收集器超出范围时它们是否会将它们清理干净?
.net c# garbage-collection dispose
.net ×1
c# ×1
dispose ×1
garbage-collection ×1