approach 1
private string mynameField;
public string myname
{
get
{
return this.mynameField;
}
set
{
this.mynameField = value;
}
}
approach 2
public string mynameField { get; set; }
Need a specific difference between these above two?