Which of the following is the correct code to close all references to the com objects below?
Workbooks books = excel.WorkBooks;
Workbook book = books[1];
Sheets sheets = book.WorkSheets;
Worksheet ws = sheets[1];
Correct Answer: Marshal.ReleaseComObject(books);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions