Free mag vol1 | Page 678

CHAPTER 16  DYNAMIC TYPES AND THE DYNAMIC LANGUAGE RUNTIME COM interop Without C# Dynamic Data Now, if you were to select the Microsoft.Office.Interop.Excel.dll assembly (in Solution Explorer), and set its Embed Interop Type property to False, you would have new compiler errors, as the COM Variant data is no longer realized as dynamic data, but as System.Object variables. This will require you to update ExportToExcel() with a number of explicit casting operations. As well, if this project were compiled under .