nerdexam
Microsoft

70-511 · Question #261

You use Microsoft -NET Framework 4 to create a Windows Forms application. You have a form named Forml that has a TableLayoutPanel control named tableLayoutPanel1. tableLayoutPanel1 has two rows and…

The correct answer is A. Option A. See the full explanation below for the reasoning.

Question

You use Microsoft -NET Framework 4 to create a Windows Forms application. You have a form named Forml that has a TableLayoutPanel control named tableLayoutPanel1. tableLayoutPanel1 has two rows and two columns. You need to create a method that meets the following requirements:

  • Accepts a string parameter
  • Dynamically creates a Label control that appears in the first column
  • Dynamically creates a TextBox control that appears directly below the

Label control Which code should you use?

Exhibit

70-511 question #261 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(23 responses)
  • A
    74% (17)
  • B
    4% (1)
  • C
    4% (1)
  • D
    17% (4)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice