title: How to get a SubList from a list based on indices in another List?
body: <h3>So, I have 2 lists ,, one contains Objects and another indices of the objects I want from the 1st.</h3>
  <p>I was wondering if there is a way in <strong>C#</strong> to get a sub-list based on indices stored in another list?
  <br/>
  <em>I'm new to Linq and google didn't answer me yet.</em>
  <br/>
  also what's the <strong>Python</strong>-ic way of doing so?</p>
  <p>Of course, i'm already using simple loops to achieve that!</p>
  <pre><code>List&lt;int&gt; IndexList;
  List&lt;int&gt; ObjList;
  List&lt;int&gt; subList;
  
  
  foreach ( var index in IndexList )
      subList.Add(ObjList[index]);
  </code></pre>