....
[Display(Name = "Long Alert File Name")]
public string something
{
get; set;
}
....
[Display(Name = "Long Alert File Name")]
public string something
{
get { return this.XYZ; }
set { this.XYZ= value; }
}
private string XYZ= "smth.wav";
what are pros and cons of using either? does it matter if we use the first (simple) example ?

Comment