title: How can I check whether a string variable is empty or null in C#?
body: <p>How can I check whether a C# variable is an empty string <code>&quot;&quot;</code> or null?</p>
  <p>I am looking for the simplest way to do this check. I have a variable that can be equal to <code>&quot;&quot;</code> or null. Is there a single function that can check if it's not <code>&quot;&quot;</code> or null?</p>