title: Check if ALL elements in 2D-Array have same value
body: <p>if we have a 1D array, we could use the following to see if all elements are equal to 3:</p>
  
  <pre><code>int[] t = Enumerable.Repeat(3, 10).ToArray();
  
  if (t.All(item =&gt; item.Equals(3))) MessageBox.Show("all elements equals to 3");
  </code></pre>
  
  <p>but if I have a 2D-array, how could I check if all elements are equal to 3 ( without any for-Loops ):</p>
  
  <pre><code>    int[,] t2D= new int[,] { { 3, 3 }, { 3, 3 }, { 3, 3 }, { 3, 3 } };
  
      if( CHECK IF ALL ELEMENTS IN **t2D** are equal to 3) 
  
                 {
                  MessageBox.Show("all elements equals to 3");
                 }
  </code></pre>
  
  <p>What should I put in If-statement?</p>