Answer the question
In order to leave comments, you need to log in
Which field creates an automatic property?
Good evening. I'm learning OOP in C#, but I don't understand one point. When we manually define properties, there is a field and corresponding get and set accessors , but when declaring automatic properties
class Person
{
public string Name { get; set; }
}
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