Why does the following Code throw a NullReferenceException? : <p>I know that most cases of a NullReferenceException are caused of missing initialization. But I initializated MTemp and FTemp. </p>

<p>What I'm missing?</p>

<hr>

<p>Important code inside the class "Foo":</p>

<pre><code>class Team
{
    public List&lt;Fahrer&gt; TeamFahrer { get; set; }

    public void Bar(string salad, string hotdog, string brokkoli)
    {
        Motorrad MTemp = new Motorrad(brokkoli);
        Fahrer FTemp = new Fahrer(salad, hotdog, MTemp);
        TeamFahrer.Add(FTemp);
    }
}
</code></pre>

<hr>

<p>Important code inside Motorrad:</p>

<pre><code>class Motorrad
{
    public Motorrad(string marke)
    {
        Marke = marke;
    }

    public string Marke { get; set; }
}
</code></pre>

<hr>

<p>Important Code inside Fahrer:</p>

<pre><code>class Fahrer
{
    public Fahrer(string salad, string hotdog, Motorrad moped)
    {
        Vorname = salad;
        Nachname = hotdog;
        MotorradDesFahrers = moped;
    }

    public string Vorname { get; set; }
    public string Nachname { get; set; }
    public Motorrad MotorradDesFahrers { get; set; }
}
</code></pre>
