ChewDoggie
Programmer
Hello All,
When working with properties, I'm used to seeing the following code:
But lately I've seen some Properties defined like this:
Where are the values being stored in the above format ?
Thanks
Chew
10% of your life is what happens to you. 90% of your life is how you deal with it.
When working with properties, I'm used to seeing the following code:
Code:
public string FromAddress
{
get { return _someaddress; }
set { _someaddress = value; }
}
But lately I've seen some Properties defined like this:
Code:
public string FromAddress { get; set; }
Where are the values being stored in the above format ?
Thanks
Chew
10% of your life is what happens to you. 90% of your life is how you deal with it.