Which code segment should you use?

The date of the run must be displayed in ViewsRunlogGetLog.cshtml. The timestamp must not be displayed. You need to display the date of the run according to the business requirements. Which code segment should you use?
A. @Html.DisplayFor(model => log.RunDate)
B. @log.RunDate.ToShortDateString()
C. @log.RunDate.ToString()
D. @Html.DisplayFor(model => log.ShortDate)

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.