what is the advantage of DisplayName attribute than Display attribute?
Asked 2011-03-09T19:12:15.870
10
The result of [DisplayName("foo")] and [Display(Name="foo")] for @Html.LabelFor(x => x.MyProperty) is same. both generate <label for="MyProperty">foo</label>. what is the advantage of DisplayName?