1. Do attributes have to be associated with private fields?
Yes,
2. After the object is created, does the attribute occupy memory space?
Of course, the property sets the method of saving or reading the private field.
The compiler actually compiles it into a special method
Called
Your Test class needs to have a field
set
{
name = value;
}
It seems that writing like this will play with fire and self-immolation .. the dead loop -_- ///