Test Your Knowledge: Quiz

Question 18-1. What is the name for the buttons, text boxes, and other items on a Windows form?

Question 18-2. How do you add a Button control to a Windows form in Visual Studio?

Question 18-3. How do you set the properties of a control?

Question 18-4. What does it mean that Windows is an event-driven environment?

Question 18-5. What sort of code do you need to make a button respond to being clicked?

Question 18-6. Name two ways to create an event handler in Visual Studio.

Question 18-7. Where does Visual Studio keep the event handlers you create for your form’s controls?

Question 18-8. What is the meaning of the partial class keyword?

Question 18-9. What method would you call to close the application?

Question 18-10. What is recursion?

Get Learning C# 3.0 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.