title: How to determine if collection contains items of specific type?
body: <p>everyone, I have a question,
  How to determine if a collection contains items of specific type?
  For example I have ItemCollection of an ItemControl</p>
  
  <pre><code>var items = comboBox.Items;
  </code></pre>
  
  <p>I need to know what type of item in the Items collection that is my question</p>
  
  <p>for example I need to determine if
  Items is collection of items type of string
  or DependencyObject or other type.</p>
  
  <p>Help me please resolve this issue.
  Thanks in advance.</p>