If objects contains null or empty then how to validate or check the condition for the same?
How to bool check whether object obj is null or
null
It sounds like what you want to do is this:
object obj = null; double d; if (!double.TryParse(Convert.ToString(obj), out d)) { d = 0.0; }
But the question does not make a lot of sense.