When you place a button named okButton on a Form in the IDE and double-click it, what method header is generated automatically?

A. public void okButton_Click(object sender, EventArgs e)
B. private void okButton_Click(object sender, EventArgs e)
C. static void okButton_Click(object sender, EventArgs e)
D. private int okButton_Click(object sender, EventArgs e)

Answer: B

Computer Science & Information Technology

You might also like to view...

When creating a presentation, you should use full sentences for your bulleted items

Indicate whether the statement is true or false

Computer Science & Information Technology

Processors all use the same type of register.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology