title: C# - Get the item type for a generic list
body: <p>What would be the best way of getting the type of items a generic list contains?  It's easy enough to grab the first item in the collection and call .GetType(), but I can't always be sure there will be an item in the collection.</p>
  
  <p>Hope that makes sense.</p>
  
  <p>Thanks,<br />
  Sonny</p>