I agree with darnold924, you just have to check for null value for each property. theres nothing wrong with that.
As to your problem to remove object I think the answer is pretty clear on above answer but not worth it when you are just checking for nullity.
Good luck.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
No comments:
Post a Comment