Check All Child Properties For Null in C# -


I have the following code line

  if (team.DivisionTeam) Is there a way to check which team, division tag, team, coordinator, profile, address and final property state regian, instead of doing it for every property? Team.Coordinator.Profile.Address.StateRegion! = Null)    

Currently in C #, you can not, you can As for the vacancy, every asset must be examined.

Maybe you ".?" Looking for the operator, but its not in C # 4.0, see this post and the response from Eric Lipper:

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -