GIAC
GSSP-NET · Question #405
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…
The correct answer is C. using Alias1 = BlueWell.Namespace1.Class1. See the full explanation below for the reasoning.
Question
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, named Class2, and use Class1 from Class2. For this, he wants to define an alias, named 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
(17 responses)- A12% (2)
- B6% (1)
- C76% (13)
- D6% (1)
Community Discussion
No community discussion yet for this question.