Hints to solve task about passing data from form to classes
<p>I have a task for which I need some hints and explanation to solve and understand it. It's about a register for customers.</p>

<p>A ContactForm that has relation with Contact, and Contact has a relation with Adress, Email and Phone.</p>

<p>The user enters information in the ContactForm and this information should then be passed and checked in the classes Adress, Email and Phone. But I guess the information must go via the Contact class. So then I create an object of Contact inside ContactForm and send the data to the constructor of Contact, but it's expected that I'm using object references in the constructor of Adress, Phone and Email that are declared in the fields of Contact. This I don't understand how it work? Perhaps the use of object reference is to avoid to send to much data to the constructor of Contact?</p>

<p>I'm also going to use properties to set and get the information, and same thing here, I'm expected to use references of objects.</p>

<p>The constructor for Contact should look like this, if I understand my instructions:</p>

<pre><code>Contact(string firstName, string lastname, Adress adr, Phone tel, Email mail)
</code></pre>

<p>It's here that I don't understand how the data from the form should be passed when I need to use a constructor like this?</p>
