Posted by: Pdfprep
Post Date: January 28, 2021
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?
A . BlueWell.Namespace1.Class1 : Alias1;
B . BlueWell.Namespace1.Class1, Alias1;
C . using Alias1 = BlueWell.Namespace1.Class1;
D . Alias1 = BlueWell.Namespace1.Class1;
Answer: C
Leave a Reply