displayname c#

C#
[DisplayName("foo")]
public string MyProperty { get; set; }
Source

Also in C#: