I have started learning MVC and I run into some unclear lines.
Here is the link for the tutorial: The Tutorial Link
So the problem is with the part of Strongly Typed Models and the @model Keyword
This is the first thing I did not understand:
public ActionResult Details(int? id)
{...}
1. The first line of this method, I didn't really understood what does the ?(question mark) symbolize and what does it mean ?
And the other thing is here:
@Html.DisplayNameFor(model => model.Title)
2.And for this line, my question is what is that => used for ?
Thank You.