How should you configure an application to consume a Web service?
A.
Add the Web service to the development computer.
B.
Add a reference to the Web service in the application.
C.
Add a reference to the application in the Web service.
D.
Add the Web service code to the application.
Explanation:
Start by adding a Service Reference to the project. Right-click the ConsoleApplication1
project and choose “Add Service Reference”: