Answer the question
In order to leave comments, you need to log in
When should you use properties and when should you use fields?
When should you use properties and not fields?
Except when we need to explicitly apply (implement) accessors instead of using automatic ?
public string Name { get; set; }
vs
public string name;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question