Possible Duplicate:
How to check if String is null
I need to be able to check for a null
value, only, inside a string. The best method I am currently aware of is String.IsNullOrEmpty()
, which does not fit what we are trying to do (string.empty
values are allowed, nulls
are not). Does anyone have any suggestions?