R
rodchar
hey all,
given:
class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
public override string ToString()
{
return this.FirstName + " " + this.LastName;
}
}
question:
so, if you do this type of inference there's no access to the private
variable? is that correct?
thanks,
rodchar
given:
class Person
{
public string FirstName { get; set; }
public string LastName { get; set; }
public override string ToString()
{
return this.FirstName + " " + this.LastName;
}
}
question:
so, if you do this type of inference there's no access to the private
variable? is that correct?
thanks,
rodchar