I need to do a comparaison between an object and NULL. When the object is not NULL I fill it with some data.
Here is the code :
if (region != null)
bool comp; if (object.IsNullOrEmpty(r1)) { comp = false; } if (object.IsNullOrEmpty(r2)) { comp = false; } return comp;