Workshop

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A,“Answers to Quizzes/Exercises.”

Quiz

1:Before you can early bind objects in an automation server, you must do what?
2:What is the most likely cause of not seeing a type library listed in the Add References dialog box?
3:For C# to use a COM library, it must create a:
4:To manipulate a server via automation, you manipulate:
5:To learn about the object library of a component, you should:

Exercises

  1. Modify the Excel example to save the Workbook. Hint: Consider the SaveAs() method of the Workbooks collection.

  2. If you have Word installed, add the ...

Get Sams Teach Yourself C#™ in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.