Which three tasks should you perform?

You are an enterprise application developer. You are creating a component that will be deployed as part of a class library. The component must meet the following specifications:

The interface of the component must be accessible to components outside the hosting assembly.
The interface of the component must be interoperable with components written in any other .NET Framework languages.
The implementation of the component cannot be expanded upon by a derived class.

You need to design the interface of the component.
Which three tasks should you perform? (Each correct answer presents part of the solution.
Choose three.)

You are an enterprise application developer. You are creating a component that will be deployed as part of a class library. The component must meet the following specifications:

The interface of the component must be accessible to components outside the hosting assembly.
The interface of the component must be interoperable with components written in any other .NET Framework languages.
The implementation of the component cannot be expanded upon by a derived class.

You need to design the interface of the component.
Which three tasks should you perform? (Each correct answer presents part of the solution.
Choose three.)

A.
Apply the CLSCompliant(true) attribute to the assembly and component definition.

B.
Apply the abstract keyword to the component definition.

C.
Apply the ComVisible(true) attribute to the assembly and component definition.

D.
Create a primary interop assembly for the assembly that hosts your component.

E.
Apply the sealed keyword to the component definition.

F.
Apply the public keyword to the component definition.



Leave a Reply 0

Your email address will not be published. Required fields are marked *