nerdexam
GIAC

GSSP-NET · Question #180

GSSP-NET Question #180: Real Exam Question with Answer & Explanation

The correct answer is C. private void Form1_Load(System.Object sender, System.EventArgs e) {. See the full explanation below for the reasoning.

Question

David works as a Software Developer for McRobert Inc. He develops a Windows-based application, named App1, using Visual C# .NET. The application contains a Form control, named GIAC GSSP-.NET Exam Form1. He wants to write code to initialize class-level variables, named Var1, Var2, and Var3, as soon as Form1 is instantiated. Which of the following code will he use to accomplish this?

Options

  • Aprivate void Form1_Initialize(System.Object sender, System.EventArgs e) {
  • Bprivate void Form1_New(System.Object sender, System.EventArgs e) {
  • Cprivate void Form1_Load(System.Object sender, System.EventArgs e) {
  • Dprivate void Form1_Create(System.Object sender, System.EventArgs e) {

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice