title: Divide two-dimensional array by 2 using Linq and then print it
body: <p>I've got a task:</p>
  
  <p>[+]Create 4x4 array, fill it with random int values, sort every column from min to max, print this array.<br>
  [+]Create a method that will have this array as incoming argument and will double every member of it, and will print it.<br>
  [-]Create a method that will have this array as incoming argument and will divide it by 2. Make this using linq and then print the result array.</p>
  
  <pre><code>using System;
  using System.Linq;
  
  class Example
  {
      static void Main()
      {
          Random random = new Random();
  
          int n = 4;
          int[][] arr = new int[4][];
          for (int i = 0; i &lt; n; i++)
              arr[i] = new int[4];
  
          for (int i = 0; i &lt; 4; i++)
              for (int j = 0; j &lt; 4; j++)
                  arr[i][j] = random.Next(0, 19);
  
          Console.WriteLine("Generated array: ");
  
          PrintArr(arr);
  
          foreach (int[] mas in arr)
              Array.Sort(mas);
  
          Console.WriteLine("\nSorted array: ");
  
          PrintArr(arr);
  
          DoubleIt(arr);
  
          DivideIt(arr);
      }
  
      static void PrintArr(int[][] array)
      {
          for (int i = 0; i &lt; 4; i++)
          {
              for (int j = 0; j &lt; 4; j++)
                  Console.Write("{0,4}", array[i][j]);
              Console.WriteLine();
          }
      }
  
      static void DoubleIt(int[][] incoming_arr)
      {
          Console.WriteLine("\nDoubled array:");
          for (int i = 0; i &lt; 4; i++)
          {
              for (int j = 0; j &lt; 4; j++)
              {
                  incoming_arr[i][j] *= 2;
                  Console.Write("{0,4}", incoming_arr[i][j]);
              }
              Console.WriteLine();
          }
      }
  
      static void DivideIt(int[][] incoming_arr)
      {
          Console.WriteLine("\nHere will be division by 2.");
          var DividingArr = from arr in incoming_arr
                           select arr;
      }
  }
  </code></pre>
  
  <p>I have troubles using linq with two-dimensional array. Can you help me?</p>