title: Get the list of index for a string in an array?
body: <p>I have one array:</p>
  
  <pre><code>string[] cars = {"Volvo", "BMW", "Volvo", "Mazda","BMW","BMW"};
  </code></pre>
  
  <p>I m looking for the index of BMW, and I using below code to get:</p>
  
  <pre><code>Label1.Text = Array.FindIndex(filterlistinput, x =&gt; x.Contains("BMW")).ToString();
  </code></pre>
  
  <p>Unfortunately it return the result for the first BMW index only. 
  Current output:</p>
  
  <pre><code> 1
  </code></pre>
  
  <p>My expected output will be</p>
  
  <pre><code>{1,4,5}
  </code></pre>