title: How to search in 2D array by LINQ ?[version2]
body: <p>I have an <strong>2D</strong> array like this:</p>
  
  <pre><code>string[,] ClassNames =
  {
    {"A","Red"},
    {"B","Blue"},
    {"C","Pink"},
    {"D","Green"},
    {"X","Black"},
  };
  </code></pre>
  
  <p>i search <strong>ClassName</strong> in <strong>1nd</strong> column by <strong>for</strong> statement and return <strong>ColorName</strong> in <strong>2nd</strong> column like this:</p>
  
  <pre><code>string className = "A";
  string color = "Black";
  for (int i = 0; i &lt;= ClassNames.GetUpperBound(0); i++)
  {
     if (ClassNames[i, 0] == className)
     {
        color = ClassNames[i, 1];
        Response.Write(color);
        break;
     }
  }
  </code></pre>
  
  <p>i want use <strong>LINQ</strong> instead of <strong>for</strong> statement to get the <strong>color</strong> by <strong>className</strong>.
  how to convert above for statement to LINQ.</p>