I am working on a MVC project. I have model called person whose attributes are Name and Country.
in my model i have used [DisplayName("Name")]
public string Name{ get; set; }
I want that if Country is England DisplayNAme should be Name , if country is Netherlands then Display name should be Naam.
In short can we make DisplayName conditional in model itsefl? or can we assign more than one displayname to attribute??