title: How to create connected lists?
body: <p>I'm working on a school project that wants me to design a restaurant app in C# Console project.
  There is a part which confuses me a lot;</p>
  <p>This restaurant has the following list of food in standard season</p>
  <pre><code>  -Pizza
    -Beef
    -Steak
    -Lasagna
  </code></pre>
  <p>However, note that this list is very upto change according to addition of
  some special food during special times or events...</p>
  <p>For food, customers may have make following additions .This list is also open to
  extend in future.</p>
  <pre><code>  -Potatoes
    -Ketchup
    -Garlic Sauce
  </code></pre>
  <p>Here are some examples for customer requests</p>
  <pre><code>  -Beef with potatoes
    -Steak with double(2x) garlic sauce
    -Lasagna with Ketchup and Garlic Sauce
  </code></pre>
  <p>I defined a class to hold variables in properties as following;</p>
  <pre><code>public class Food: IFood
      {
          public string FoodName { get; set; }
          public int FoodQuantity { get; set; }
          public decimal FoodPrice { get; set; }
          public List&lt;Addition&gt; Additions { get; set; }
      }
  </code></pre>
  <p>I try to generate orders as following;</p>
  <pre><code>    cart.Items.Add(new Food{ FoodName = &quot;Beef &quot;, FoodQuantity = 1, FoodPrice = 7M, new Addition {AdditionName = &quot;&quot;, AdditionPrice = &quot;&quot;, AdditionQuantity = &quot;&quot; });
  </code></pre>
  <p>But it doesn't let me and gives me the following error;
  'Invalid initializer member declarator'
  Any ideas on how to do this in such a way that allows me to make a connection between an ordered food type and its additions?</p>