How to Enumerate a generic List<T> without know the type
<p>I am passing a generic list to a function , i want to enumerate the objects in the list. If i able to enumerate items in list i will use reflection to the rest.</p>

<pre><code> var Items= new List&lt;String&gt;(){"s1","s2"};
  Enumerate(Items);
  void Enumerate(object items)
  {
        //i know the type so i  can cast and enumerate
        foreach(var item in (List&lt;String&gt;) items)
        {

        }
        // i don't know the type of object in the list
        //Following won't work , can't cast to List&lt;object&gt; 
        foreach (var item in (List&lt;object&gt;) items)
        {

        }
    }
</code></pre>
