title: How to cast the List<object> to List<T>?
body: <p>I am struggling to fix the following problem:</p>
  
  <p>I have list of object and object type is int:</p>
  
  <pre><code>int a = 1;
    int b = 2;
    int c = 3;
    List&lt;object&gt; kk = new List&lt;object&gt;( );
    kk.Add( ( object )a );
    kk.Add( ( object )b );
    kk.Add( ( object )c );
  </code></pre>
  
  <p>and I want to cast the <code>List&lt;object&gt;</code> to <code>List&lt;objecttype&gt;</code> and in above example object type is int. I want to cast <code>List&lt;object&gt;</code> to <code>List&lt;int&gt;</code>. Is there a way address this problem? </p>
  
  <p>I am looking for generic solution and assume no knowledge of casting type.</p>
  
  <p><img src="https://i.stack.imgur.com/agAUu.png" alt="enter image description here"></p>