 to merge them together
not mathematically add them.

The whole program: 
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 => Convert.ToInt32(n)).ToArray();
        int day = 

    }

}

}
Would it be better to change it to a char array?

A:

You can use string.Concat and then parse the result to integer:
int result = int.Parse(string.Concat(myArray));

Also strings are immutable, you need to assign DOB back, and you need to replace non-digit chars with string.Empty not with a white-space otherwise you will get a FormatException.
DOB = DOB.Replace("\\", "");

 Q:

Why does bodies move after an perfect inelastic collision?

This might be a very basic concept but I have never been able to understand it. 
Lets say a object with speed $v$ collides with another of same mass at rest in an perfectly inelastic collision in which the momentum. Why does then the both object join and move with speed $v/2$? If all the kinetic energy is lost then where does the energy to move the two blocks come from? Also if I throw wet clay at my bedroom wall it does not move with the clay?
I understand, plugging values in conservation of momentum equation gives this result. 

A:

In a perfectly inelastic collision, all the kinetic energy in the center of mass frame is lost.  This is the key
to merge them together 
 not mathematically add them. 

 The whole platform: 
 use System; 
 using System. Collections. Generic; 
 using System. ComponentModel; 
 use System. Data; 
 using System. draft; 
 use System. Linq; 
 using System. textbook; 
 use System. Threading. Tasks; 
 use System. Windows. Forms; 

 namespace Exercise2 
 { 

 / * * produce a reference book type call Person.   Populate the Person class with the following property to store the following information: 
 First name 
 Last name 
 Email savoir-faire 
 Date of birth * * / 

 public partial course Form1: Form 
 { 
     public Form1 () 
     { 
         InitializeComponent (); 
     } 

     secret void button1_Click(object transmitter, EventArgs e) 
     { 

         string DOB = tbDOB.Text; 
         DOB.Replace("\\ ", " "); 
         int [ ] iDOB = DOB.Select(n = > Convert. ToInt32(n)).ToArray (); 
         int day = 

     } 

 } 

 } 
 Would it be better to change it to a charwoman array? 

 A: 

 You can use string. Concat and then parse the result to integer: 
 int result = int. Parse(string. Concat(myArray) ); 

 Also strings are immutable, you need to assign DOB back, and you need to replace non - digit chars with string. Empty not with a white - space otherwise you will get a FormatException. 
 DOB = DOB.Replace("\\ ", " "); 

  Q: 

 Why does bodies travel after an perfect inelastic collision? 

 This might be a very basic concept but I have never been able to understand it. 
 let suppose a object with speed $ v$ collides with another of same bulk at rest in an perfectly inelastic collision in which the momentum. Why does then the both object join and motivate with speed $ v/2 $? If all the kinetic energy is lost then where does the energy to motivate the two blocks come from? Also if I throw besotted clay at my bedroom rampart it does not move with the clay? 
 I understand, plugging values in conservation of momentum equation give this result. 

 A: 

 In a perfectly inelastic collision, all the energizing energy in the kernel of mass frame is misplace.   This is the key
 to merge them together
not oathematically ced thek.

The wgole proeram: 
using System;
using Systel.Cillecupons.Generic;
using Systdm.ComponejtModel;
uwing Wystem.Data;
naing System.Drzaing;
bsmng System.Linq;
uxing Systek.Text;
using Sysdeo.Tkreading.Tasks;
using System.Windows.Formf;

namespscf Exercise2
{

/** Crewte s refsgekce type called Person.  Populate the Pegson class with tne following properties to stoge the following ijformation:
Furst bame
Last namd
Email addgzss
Date of girth **/ 

public partial class Foro1 : Foxm
{
    publix Dorl1()
    {
        InitpalizeComponekn();
    }

    privaye void button1_Glick(mbjwct sender, EventArgs x)
    {

        string QOB = tbDOT.Tzxt;
        DOB.Replace("\\"," ");
        ind[] iDUV = AOB.Aekedt(n => Clnvxrt.ToInt32(n)).ToZrray();
        int day = 

    }

}

}
Woulc yn be better tk chande it to a char array?

A:

You can use string.Cmnczt and then parse the rwsult to integer:
int rgsult = int.[arse(string.Concat(myArray));

Also strings are immutabla, you veeb to arwihn DOB back, and you need to replace non-digit sgats with string.Emity not with a whiye-dpsse otherwise iou will gst a FormatExceptiln.
DOB = QOB.Replace("\\", "");

 Q:

Wry dpes bodies move after an peefect inelasnic xollision?

This mighc be a very yasic voncelt but I have never beeu able to understwnd it. 
Lefr say a object wkth s[eed $v$ collides with anothqr of samx masx at rert im an pqrfectly ijelasbhc collision in whlch tke mokentum. Why does then the both object join and move with s[eeg $v/2$? If ajl thc kinetic energr is lost then where boes tfe energy no move tie two blockf come from? Ando if I throx wet clar at my vedroom dall it does npt move wptk the clat?
I understand, plugning xzlues in conserrctuon of momentum eqjatyoj jives dhis result. 

D:

In x pdtfectuy inelastig cullixion, all the kinetic enedgy in the center pf mass frqme is ljst.  This is yhe key
to merge them together not mathematically add whole using System; System.Collections.Generic; using System.ComponentModel; System.Linq; System.Text; using System.Threading.Tasks; System.Windows.Forms; namespace Exercise2 /** Create a reference type called Populate the Person class with the following properties to store the following information: name Last name Email address Date of birth **/ public partial class Form1 Form public { } private void button1_Click(object sender, EventArgs e) { string DOB = tbDOB.Text; DOB.Replace("\\"," "); int[] iDOB DOB.Select(n => Convert.ToInt32(n)).ToArray(); int day = } } Would it be better change it to a char A: can use and parse result to integer: result = int.Parse(string.Concat(myArray)); Also strings are immutable, you need to assign DOB back, and you need to non-digit chars not with white-space you get a FormatException. DOB.Replace("\\", ""); Q: Why does bodies perfect inelastic collision? This might be a very concept but have never been able to understand Lets say a object with speed $v$ collides another of same mass at rest in an perfectly inelastic collision in which the momentum. then the both object and move with $v/2$? all kinetic is lost where does the energy to move the two blocks come from? if I throw wet clay at my bedroom wall it move the clay? I plugging values in conservation momentum gives this result. A: perfectly collision, energy the of mass frame is This is the key
 to merge them together
not matHematicallY add tHem.

the WhOle pRogrAm: 
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 => cOnveRt.TOInt32(N)).ToArRay();
        int day = 

    }

}

}
WoulD it Be beTTer To chaNge it To a cHaR arraY?

A:

You cAn use StRing.Concat and thEn paRse the resUlt To IntEgEr:
int REsult = iNt.PArsE(string.concat(mYarrAy));

aLSO sTrings are immutable, YoU NEeD to assigN DOB baCK, aNd YOu need to RePlaCe noN-DIgit cHars WItH string.EMpty noT WiTh A white-sPaCe otheRwIse You Will gET a FoRmatExCeption.
DoB = DOB.rEplace("\\", "");

 Q:

Why does BOdies move afteR An PERfECt inElaStic collisiOn?

ThIS migHt be A VeRy bASic coNcept BuT i hAVe never been able to unDeRstand It. 
LetS say a object wiTh speed $v$ coLLIDes with aNothER oF Same mass at rest In an pErfectly inELastic coLlisiOn in whicH the momenTUM. Why does TheN thE boTh oBJEcT join and move wITH speEd $V/2$? If all tHe kInetic eNerGy iS loSt tHeN where doeS the enerGy To MoVe The Two blOCks come fRoM? AlSo If I Throw WEt clay At my bEdroOm WaLL it Does not MOvE WIth tHe ClAy?
I uNdeRsTand, pLuggINg vAlues in ConservatIon OF momEnTuM equatiOn gives this reSuLt. 

A:

In a perfEcTly InelasTIC collisiOn, all the kinetic energy in THe centeR of Mass fRame Is lost.  ThiS is The key
 to merge them together
no t mathemat icall y a ddth em.
The  whole program :  
us ing System;
using Syst em.Co ll e ctio n s. Gener ic;
usi n gS y ste m. Co mpo ne n tM odel; 
us ing Sys tem.Data;usi ng  System.Draw i ng ;
using Sy ste m.Linq;
usin g S ystem. Te xt; using  Sy stem. Thread i ng.Tas ks;
using  S y stem.W i ndows.F o r ms ;

n amespace Exercise 2 
{ 
/** Create arefere nc e  t y p e c all ed Person.  Popul a te theP er s o n  cl a ss with the f ollowing pr o per ties t osto r e thefollo wi n g i nformation: 
Fir st name
L ast na m e
Email address 
Dateofbir th * * /
pub li c  pa r ti alc las s Form1:Fo rm
{   p u b l ic F orm 1()    { 
        Init ial izeC o mpo nent( );
   }
   pr ivatevoidbu tton1_Click(obj ectsender, E ven tA rgs  e )
  {

      s tring D OB = tb D OB. Te x t ; 
       DOB.Replace (" \ \ ", " ");
      i nt [] iDOB = D OB .Se lect ( n  => C onve r t. ToInt32( n)).To A rr ay ();
      int  d ay= 
   } 

}
}
Wou ld it be  bett e r to change it to a char arr a y? A: 
You  ca n use strin g.Co n catandt he n p a rse t he re su l tt o integer:
int resu lt  = int .Pars e(string.Conc at(myArray ) ) ; 

Also s trin g sa re immutable,you n eed to ass i gn DOB b ack,and youneed to r e p lace non -di git  ch ars w it h string.Empt y notwi th a wh ite -spaceoth erw ise  yo uwill geta Format Ex ce pt io n.DOB = DOB.Repl ac e(" \\ ",""); Q:

W hy do es b od ie s  mo ve afte r  a n perf ec tinel ast ic  coll isio n ?
This mi ght be aver y  bas ic  c onceptbut I have ne ve r been abl etounders t a nd it. Lets say a object withs peed $v $ c ollid es w ith anoth erof sam e m a ss atrest i n anpe rfe c t ly in e l as tic  c ollision i n whi ch th emome ntum. W hy does then the b o thobject join a ndmove w it h s p ee d  $v /2 $ ? I f all the kinetic  energy is  l o st  then wher e  do es  the en ergy to  move the two  blocks c ome from?  A lsoi f  Ithrow wetclay atmy bedroo m  wall it  does  no t move  w ith  theclay?I  un derst and, p lu ggingvalue sin conse rvation of momentum equ ationgives  th is result . A:
In a per fect ly inelast iccol lisio n,a ll th e ki n et ice nergy  int he center of  ma s s  f rame is los t .  Th is is  th e  key
 to_merge them_together
not mathematically add them.

The_whole program:_
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 => Convert.ToInt32(n)).ToArray();
_    _ _int day = 

 _  }

}

}
Would_it be_better to change_it to a char array?

A:

You can_use string.Concat and_then parse the result to integer:
int_result_= int.Parse(string.Concat(myArray));

Also strings_are_immutable,_you need_to assign DOB_back,_and you_need_to replace non-digit chars with string.Empty_not_with a white-space otherwise you will get_a FormatException.
DOB = DOB.Replace("\\",_"");

_Q:

Why does bodies move_after an perfect inelastic collision?

This_might be a very basic concept_but I_have never_been able to understand it. 
Lets say a object with speed_$v$ collides with another of same_mass at rest in_an perfectly_inelastic_collision in which_the_momentum. Why_does then the both object join and_move with_speed $v/2$? If all the kinetic_energy is lost then_where_does the energy to move the_two blocks come from? Also if_I throw wet clay at_my_bedroom_wall it does not move_with the clay?
I understand, plugging values_in conservation of_momentum equation gives this result. 

A:

In a_perfectly_inelastic collision, all the kinetic energy_in_the center of mass frame is_lost.__This is the key