c# Season 2 chapter 9 part 1
After a button click event is registered, the associated method is called ____.
automatically when the button is clicked.
All changes to the property values can be made in the ____________ window at design time.
Properties
Button, Label, TextBox, ComboBox, MenuStrip, ListBox, CheckBox, RadioButton, and MonthCalendar are all examples of classes.
True or False?
True
Double-clicking on the form when you are using the Form Designer brings up the Code Editor and also ____.
adds a form load method heading
Probably the most commonly used control for both input and output is the button because it adds additional functionality to an application.
True or False?
False
Text = "An Example";
The statement above adds the text "An Example" as the first entry on the form in the bottom left-hand corner.
True or False?
False
The Form property used to set the title bar on the Windows form is ____.
Text
An instance of the delegate class is called a(n) ____.
delegate
Multiple selections cannot be made from a ListBox control object.
True or False?
False
SelectedItems and ____ properties can be used to retrieve items from a ListBox object.
SelectedItem
The ____ class in the System.Windows.Forms namespace enables you to add more functionality to your application by offering additional user options, such as adding layers of menus.
MenuStrip
The default event-handler method for CheckBox objects is ____________.
CheckedChanged( )
The Items, SelectedItems, and SelectedIndices properties are useful for retrieving selected items from the ListBox object.
True or False?
True
The process that includes identifying an event, such as a button click as being of interest, and associating a method to be executed when the event occurs describes ____.
wiring an event
All .NET languages support multiple inheritance.
True or False?
False
Both var and ____________ enables developers to not associate a specific data type to the actual data when the memory declaration for the variable is written.
dynamic
For classes of animal and dog, animal would be considered the derived class.
True or False?
False
Instead of running or executing a dynamic link library file (DLL), you use the ____________ option to create the .DLL component.
Build
It is not necessary to add a reference to a .dll file if the file is stored in the same project subdirectory.
True or False?
False
Multiple classes can implement the same interface, but a class can implement only one interface.
True or False?
False
Multiple inheritance is not possible in C#; ____ provides the closest work around to this because a class can implement multiple ____.
interfaces
Polymorphic programming is associated with the ____________. You do not have to know how the method goes about doing its work. All you have to know is what arguments to send, if any, and what you expect to be accomplished when the object finishes its work.
black box concept
A breakpoint is a point in output that separates correct from incorrect results.
True or False?
False
All exception classes inherit from the ____ class.
Exception
An attempt to access an element of an array with an index that is outside the bounds of the array throws a ____.
System.IndexOutOfRangeException
An exception handler is a ____.
block of code that is executed when an exception occurs
A(n) ____________ is a listing of all the methods that are in the execution chain when the exception is thrown.
stack trace