title: Lambda expression to return a string from a 2D string array based on a test string
body: <p>I have the following code. I would like to replace the <code>for</code> loop to a lambda or LINQ expression to return my string.</p>
  
  <pre><code>string[,] testval = new string[3,2]
  
  testval[0, 0] = "0"
  testval[0, 1] = "string A"
  testval[1, 0] = "5"
  testval[1, 1] = "string B"
  testval[2, 0] = "13"
  testval[2, 1] = "string C"
  
  string teststring = "13"
  
  for (int i=0; i&lt;=testval.GetUpperBound(0);i++)
  {
      if (testval[i,0] == teststring) { return testval[i,1]; }
  }
  return null;
  </code></pre>
  
  <p>I am new to lambda and LINQ expressions. Can somebody help me?</p>