Microsoft Exam Questions

Which four lines of code should you use in sequence?

DRAG DROP
You are developing a C# console application that outputs information to the screen. The following code
segments implement the two classes responsible for making calls to the Console object:

When the application is run, the console output must be the following text:
Log started
Base: Log continuing
Finished
You need to ensure that the application outputs the correct text.
Which four lines of code should you use in sequence? (To answer, move the appropriate classes from the list
of classes to the answer area and arrange them in the correct order.)
Select and Place:

Answer:

Explanation:
Note:* The abstract keyword enables you to create classes and class members that are incomplete and must be
implemented in a derived class.
* An abstract class cannot be instantiated. The purpose of an abstract class is to provide a common definition
of a base class that multiple derived classes can share.