Test Your Knowledge

Windows Forms - Lesson 2: Controls Basics Quiz

Answer all questions to test your understanding

1 Which control is used for single-line text input?
2 What naming prefix is recommended for a TextBox control?
3 What does the Anchor property do in Windows Forms?
4 Which property makes a control fill an entire form or panel?
5 How do you read the text from a TextBox in code?