title: IsNullOrEmpty not working in C#, but "null"works
body: <pre><code>priavate void getfoo( ){
  OracleDataReader myDataReader;
  OracleRefCursor myCursor = (OracleRefCursor)cmd.Parameters["omyDATA"].Value;
  myDataReader = myCursor.GetDataReader();
  fillmytable(myDataReader);
  }
  
  private void fillmytable(OracleDataReader mydataReader) {    
  StringBuilder myStringBuilder = new StringBuilder();                   
  if( mydataReader.GetOracleValue(n) == "null")
  {
      mystringbuilder.Append("");
  }
  else
  {
      mystringbuilder.Append(mydataReader.GetOracleValue(n).ToString();
  }
  </code></pre>
  
  <p>}
  Output: <strong><em>_</em></strong></p>
  
  <p>but if I want to use <code>String.IsNullOrEmpty</code> like, </p>
  
  <pre><code>if(String.IsNullorEmpty(mydataReader.GetOracleValue(n).ToString())
  {
      mystringbuilder.Append("");
  } 
  else
  {
      mystringbuilder.Append(mydataReader.GetOracleValue(n).ToString();
  }
  </code></pre>
  
  <p>Output: null </p>
  
  <p>so the question is "null" string test works, but IsNullorEmpty does not work
  I need to test GetOracleValue is null or not if it is null, then replace it by empty space.</p>