Chapter two exercise from *Mobile Development with C#*