edit : a completely different question than this i'm asking how auto-properties work internally
When i make an automatic Property what happen's in the background ?
This Equals to
public int SomeProperty {get; set;}
This
private int _someField;
public int SomeProperty
{
get { return _someField;}
set { _someField = value;}
}
Is this what literally happens ( i.e a private field is created ) or is it only presented to just explain things and it works differently