After double – clicking the English button, add the following code to the event handler:
Private void buttonEnglish_Click(object sender, EventArgs e)
{
This. Text = "Do you speak English?";
}
For the Click event, the first parameter, object sender, holds ____.
A -
the left mouse button make button clicked
B -
the form control that contain button was clicked
C -
the control that was clicked
D -
the value on the button
2-
All class have ____ method.
A -
ToInt32()
B -
ToLower()
C -
ToString()
D -
ToUper()
3-
All types in C# implicitly derive from ____.
A -
System.Csharp class
B -
System All class
C -
System class
D -
System.Object class
4-
An instance method
A -
Represents the instance of an object
B -
Represents another class
C -
Represents the attribute of an object
D -
Represents the behavior of an object
5-
An instance variable ____.
A -
represents an attribute of an object
B -
is an object of a class
C -
is a method of a class
D -
represents an property of an object
6-
An Event is ___.
A -
result of a party
B -
a eunning of a method
C -
code to force users action
D -
the result of a users action
7-
An instance method in C# is invked obly by an ____.
A -
object
B -
instant object
C -
class
D -
None of the above
8-
An array is a group of ____ (called elements) containing values that all have the same
____.
A -
variables, type
B -
element, size
C -
variables, size
D -
elements, type
9-
An object is a(n) ____ of a class
A -
Instantiation
B -
Institution
C -
Relative
D -
Child
10-
An array that uses two indices is referred to as a(n) ____ array.