Which two actions should you perform?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to use an existing unmanaged component in the application. The unmanaged component includes two methods to calculate taxes.
The first method calculates taxes for individuals and the second method calculates taxes for organizations. You need to provide a single method to calculate taxes.
You also need to consume the unmanaged component within the application.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to use an existing unmanaged component in the application. The unmanaged component includes two methods to calculate taxes.
The first method calculates taxes for individuals and the second method calculates taxes for organizations. You need to provide a single method to calculate taxes.
You also need to consume the unmanaged component within the application.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Override the current tax calculation method.

B.
Use the Tlbimp.exe tool and add a new class to the output.

C.
Create a new tax calculation method that accepts parameters.

D.
Use the Tlbimp.exe tool and create a wrapper class that references the output.

E.
Create multiple configuration files for the different tax calculation method calls.



Leave a Reply 0

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