Which code segment should you use?

You are developing an ASP.NET MVC application.
The application has a contact view that includes a form for editing the displayed contact.
You need to save the Contact type when the form is posted back to the EditContact method.
Which code segment should you use? (Each correct answer presents a complete solution.
Choose all that apply.)

You are developing an ASP.NET MVC application.
The application has a contact view that includes a form for editing the displayed contact.
You need to save the Contact type when the form is posted back to the EditContact method.
Which code segment should you use? (Each correct answer presents a complete solution.
Choose all that apply.)

A.
Option A

B.
Option B

C.
Option D

D.
Option E

Explanation:



Leave a Reply 3

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


vbfghgbe

vbfghgbe

There is no Option E. Anyway, Option D should be good, I’m not sure if option A is also right.

B

B

C and D makes sense since we’re talking about a form being posted (not URL).

FigArt

FigArt

Yeah I’d say C and D are correct