Skip to main content

Complex traits

Some traits are more complex, for example the name and address are traits with properties. So to use these traits the first thing we do is to check that they are not null, to avoid a null reference error.



In order to use the contact’s address we would use the following code:

Note: A full list of properties available in Populo can be found in the Contact properties article.