//Ex: 1
public Person Person { get; } = new Person();
//Ex: 1
//Is the same as
private readonly Person person = new Person();
public Person Person
{
get { return person; }
}
和…
//Ex: 2
public Person Person => new Person();
//Ex: 2
//Is the same as
public Person Person
{
get { return new Person(); }
}