Do I need two new List<ParentDetail>() constructors?
<p>I have the following class called Parent. It contains a list of ParentDetail classes:</p>

<pre><code>public class Parent
{

    public Parent()
    {
       this._parentDetails = new List&lt;ParentDetail&gt;();
    }

    public IList&lt;ParentDetail&gt; ParentDetails
    {
        get { return _parentDetails; }
    }

    private List&lt;ParentDetail&gt; _parentDetails = new List&lt;ParentDetail&gt;();

}

public class ParentDetail
{
    public string FileName { get; set; }
}
</code></pre>

<p>The class seems to work but I don't understand why "= new List();" appears twice. Can someone explain in a couple of lines what is happening?</p>
