Quiz Yourself: Classes and OOP

Assess your understanding of C# classes and object-oriented programming.

We'll cover the following...
Technical Quiz
1.

In the context of class libraries, what is the specific role of the using directive compared to adding a project reference?

A.

The using directive links the compiled .dll file to the project, allowing the code to execute at runtime.

B.

The using directive allows you to reference types without their fully qualified names, but it does not physically link the library.

C.

The using directive is mandatory for loading the library into memory; without it, the library is ignored.

D.

The using directive copies the code from the external library into the current file to ensure visibility.


1 / 14