Step 4
Branch Stage 4 (w/s 23-11-15)
We use StreamReader and StreamWriter to persist the details about all the zoo to a comma seperated text file (or CSV). The data is parsed upon reading and used to create Animals for entering into the zoo collection. The Sex of each Animal presents a small challenge as the data when read back will be of the form “M” or “F” and therefore a string. We need to convert this into an object of type Gender as that is how the gender is stored in each Animal.