Avoiding NullReferenceExceptions

varperson=newPerson{Address=newAddress{State=newState{Country=null}}};// this will always return a value of at least "null" to be stored instead
// of throwing a NullReferenceException
varcountryName=person?.Address?.State?.Country?.Name;