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

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -