summary 温度数组 summary public static string TemperatureArray = new string10; summary PD数组 summary public static string PDArray = new string10; 在创建2
在重新给静态数组赋值时,以前的内存会被垃圾回收机制自动回收释放。因为静态数组是存放在堆内存中的,当没有引用指向它时,它所占用的内存会被垃圾回收机制自动回收。
原文地址: https://www.cveoy.top/t/topic/eGYJ 著作权归作者所有。请勿转载和采集!