title: Check All Child Properties For Null in C#
body: <p>I have the following line of code below.  Is there a method that can check team, DivisionTeam, Team, Coordinator, Profile, Address, and the last property StateRegion for null instead of doing it for every property?</p>
  
  <pre><code>if(team.DivisionTeam.Team.Coordinator.Profile.Address.StateRegion != null)
  </code></pre>