Exercise: Parameter checking, Test first

You are supposed to construct a simple class Person with the following methods and properties:

Rules (class invariants)

Your Person class must enforce the rules throwing exceptions if a caller breaks the rules in a constructor or the set part of a property.

Testing

Here is a simple test classwhich you can use to test your Person class: PersonTest.cs