title: Merge Elements Of int array C#
body: <p>I've been looking around on MSDN and Stack overflow for a while now, but i can't seem to find anything, i want to merge elements of an int array. I've looked at string.join but can't seem to find an equivalent for int</p>
  
  <pre><code>int[] myArray = new int[] {1,4};
  int myArray[0] + myArray[1] would equal 14, Note that i want to merge them together
  not mathematically add them.
  </code></pre>
  
  <p>The whole program: </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace Exercise2
  {
  
  /** Create a reference type called Person.  Populate the Person class with the following properties to store the following information:
  First name
  Last name
  Email address
  Date of birth **/ 
  
  public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
  
      private void button1_Click(object sender, EventArgs e)
      {
  
          string DOB = tbDOB.Text;
          DOB.Replace("\\"," ");
          int[] iDOB = DOB.Select(n =&gt; Convert.ToInt32(n)).ToArray();
          int day = 
  
      }
  
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Would it be better to change it to a char array?</p>