nerdexam
GIAC

GSSP-.NET · Question #452

(Topic 4) Dennis works as a Software Developer for BlueWell Inc. He develops an application, named App1, using Visual C# .NET. App1 contains a class, named Class1, which is stored in a namespace…

The correct answer is C. using Alias1 = BlueWell.Namespace1.Class1. See the full explanation below for the reasoning.

Question

  • (Topic 4)

Dennis works as a Software Developer for BlueWell Inc. He develops an application, named App1, using Visual C# .NET. App1 contains a class, named Class1, which is stored in a namespace, named BlueWell.Namespace1. Dennis wants to create another class, Alias1, and use it in Class2. Which of the following statements will Dennis use to define Alias1?

Options

  • ABlueWell.Namespace1.Class1 : Alias1;
  • BBlueWell.Namespace1.Class1, Alias1;
  • Cusing Alias1 = BlueWell.Namespace1.Class1;
  • DAlias1 = BlueWell.Namespace1.Class1;

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    9% (4)
  • C
    72% (33)
  • D
    17% (8)

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice