Camillia
asked on
Properties and fields
I know this is a basic question but I was watching PluralSight and was speaking with a coworker.
I've attached a screenshot of the lesson. It doesn't need the
private int _age
public int Age
{...}
Don't think it does because we just use {get; set;} That's what I'm trying to explain to my coworker.
properties.png
I've attached a screenshot of the lesson. It doesn't need the
private int _age
public int Age
{...}
Don't think it does because we just use {get; set;} That's what I'm trying to explain to my coworker.
properties.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.