title: Why use the params keyword?
body: <p>I know this is a basic question, but I couldn't find an answer.</p>
  
  <p>Why use it? if you write a function or a method that's using it, when you remove it the code will still work perfectly, 100% as without it. E.g:</p>
  
  <p><strong>With params:</strong></p>
  
  <pre><code>static public int addTwoEach(params int[] args)
  {
      int sum = 0;
      foreach (var item in args)
          sum += item + 2;
      return sum;
  }
  </code></pre>
  
  <p><strong>Without params:</strong></p>
  
  <pre><code>static public int addTwoEach(int[] args)
  {
      int sum = 0;
      foreach (var item in args)
         sum += item + 2;
      return sum;
  }
  </code></pre>