how to access object property 'display-name' code example Example: displayname c# [DisplayName("foo")] public string MyProperty { get; set; }