I have a method that will receive a string, but before I can work with it, I have to convert it to int. Sometimes it can be null and I ha
string
int
null
Your first snippet will only check if value == null, but the seconds snippet checks if value == string.Empty || value == null. I don't know what the requirements of your method is but those two snippets will do different things.
value == null
value == string.Empty || value == null