jeudi 5 novembre 2015 helper class explantation on Razor

I am very new to When I was referring tutorial I met some problems. I just google those problems. But i unable to get answers for it. Here my questions.

  1. What is the meaning of x => x.Created I mean I just want to what is the => symbol meaning?
  2. Why put @ symbol after new keyword? Can we just type as new {class="date"}

here my code block

    @Html.TextBoxForModel(x => x.Created, new { @class = "date" })

Aucun commentaire:

Enregistrer un commentaire