类成员变量循环后重置吗?
不要使用公开的或保护的类成员变量,使用属性。
Do not provide public or protected member variables. Use properties instead.
此外,您常常需要在适当的时候将指向其他类的类成员变量设置为null。
Also, many times member variables of a class that point to other classes simply need to be set to null at the appropriate time.
应用推荐