如何彻底释放Excel对象?
Excel.Application app = new Excel.Application();
app.Quit();
System.Runtime.InteropServices.Marshal.ReleaseComObject(app);
GC.Collect();
app.Quit();
System.Runtime.InteropServices.Marshal.ReleaseComObject(app);
GC.Collect();

浙公网安备 33010602011771号