Doyle: C#, 5th edition Page 1 of 4
C# Programming: From Problem Analysis to Program Design, 5th edition
Chapter 9
1. b. One font size is used with console applications.
2. d. System.Windows.Forms
6. e. Form
7. b. Text
8. d. A Form inherits the members of the Form class.
12. c. Form Designer
13. d. all of the above
Doyle: C#, 5th edition Page 2 of 4
20. d. Create separate classes for each.
21. a) With a console-based application, each line in the Main ( ) method is executed
b) With your console applications, the program initiates interaction with the
operating system by calling the operating system to get data using the ReadLine( )
c) Windows applications not only function differently, they also look different. A
more friendly user interface can be created.
22. a. BackColor
Doyle: C#, 5th edition Page 3 of 4
23. The click event for the button could be registered so that the program will be notified
24. Appearance matters. Consistent placement of items is important. Consistent sizing of
items is also important. Use contrast to highlight items. Unless you are trying to call
25. Declare an object of the Textbox class. Instantiate the object by calling its
constructor. Add the control to the form. If using Visual Studio .NET, drag and drop
the control onto the form from the Toolbox. Position the textbox on the form in
Doyle: C#, 5th edition Page 4 of 4