摘要:
public class OperatorExcel: IDisposable{ ........... public void Dispose() { try { m_oBooks = null; m_oBook = null; m_oSheet = null; m_oRange = null; if(m_oExcelApp != null) { m_oExcelApp.Quit(); m_oExcelApp = null; } } finally { GC.Collect(); GC.WaitForP... 阅读全文