Add a description for a property

Viewed 24657

How do I add a text description for my property?

alt text

My code :

private bool _SpaceKey;

public bool SpaceKey
{
    get
    {
        return _SpaceKey;
    }
    set
    {
        _SpaceKey = value;
    }
}
4 Answers

In Asp.net Core c# coding, it is different. Its work of all asp.net core version.

 [Display(Name = "Employee Name")]  
 public string EmployeeName { get; set; }  
Related