title: How to add List and Dictionary to a List as elements
body: <p>Is there any way to add dictionaries and lists mixed into a list without using <code>List&lt;Object&gt;</code>?</p>
  
  <pre><code>list.add(someList);
  list.add(someDict);
  </code></pre>
  
  <p>Edit: why i need it? That was my first thought too^^. because i receive that kind of objects and i "should" use them. And i need the keys to check for a velue of a specific key.</p>
  
  <p>I guess thats the structure:</p>
  
  <pre><code>List&lt;String&gt; list1 = new List&lt;String&gt;();
  Dictionary&lt;String,String&gt; dict1= new Dictionary&lt;String,String&gt;();
  
  list.add(list1);
  list.add(dict1);
  </code></pre>
  
  <p>EDIT2: <strong>And it has to have AWESOME performance, when iterating!</strong> I was not sure how Object would perform.</p>