Different writing styles about set and get methods
My question about set and get methods.. Although I know how to use and why
it is using for, I cant understand main differences between these using
styles...
public string a{get;set;}
public string a
{
get{return a;}`
set{a=value;}
}
No comments:
Post a Comment