title: Get List<> element position in c# using LINQ
body: <p>I have a List with numbers,
  and I'd like to find the position of the minimum (not value) using LINQ</p>
  <p>Example:</p>
  <pre><code>var lst = new List&lt;int&gt;() { 3, 1, 0, 5 };
  </code></pre>
  <p>Now I am looking for a function returning me</p>
  <blockquote>
  <p>output = 2</p>
  </blockquote>
  <p>because the minimum is at position 2 in the list.</p>