title: Use ".items" on an ObservableCollection ? (loop through it)
body: <p>I got a "well-constituted" ObservableCollection and I'd like to inspect into it.
  The definition of it is : </p>
  
  <pre><code>private Dictionary&lt;string, ObservableCollection&lt;DependencyObject&gt;&gt; _DataPools = new Dictionary&lt;string, ObservableCollection&lt;DependencyObject&gt;&gt;();
  </code></pre>
  
  <p>(yep it's an obsCol with an obsCol in it, but it IS ok, the problem's not here)</p>
  
  <p>I tried 2 different ways but they both don't work...</p>
  
  <p>1) .Items</p>
  
  <pre><code>foreach(ObservableCollection&lt;DependencyObject&gt; obj in _DataPools.Items)
          {
              blablaaaa;
              ....
          }
  </code></pre>
  
  <p>.Items doesn't work but when I look in the C#doc, Items is a valid field... (just like "Count", and "Count" works...)</p>
  
  <p>2) Count + [x] acces :</p>
  
  <pre><code>var nbItems = _DataPools.Count;
  
          for (int i = 0; i &lt; nbItems; i++)
          {
              Console.WriteLine("Items : " + _DataPools[i].XXX); //XXX = ranom method
          }
  </code></pre>
  
  <p>_DataPools[i] doesn't work but on the web I found a couple of example where it is used oO</p>
  
  <p>I tried a couple of other "exotic" things but I really can't go over it...</p>
  
  <p>Any help will be welcomed !</p>
  
  <p>Thx in advance and sry for my langage, im french -_-
  (sry for my president too !)</p>