title: How to access GetGlobalResourceObject()
body: <p>I'm new to c#. I have this class...</p>
  
  <pre><code>using System;
  using System.Data;
  using System.Configuration;
  using System.Linq;
  using System.Web;
  using System.Web.Security;
  using System.Web.UI;
  using System.Web.UI.HtmlControls;
  using System.Web.UI.WebControls;
  using System.Web.UI.WebControls.WebParts;
  using System.Xml.Linq;
  
  
  public class clsErrorMessages
  {
      string _sErrors;
      public clsErrorMessages(string sErrorTextFileName)
      {
          _sErrors = (String)GetGlobalResourceObject("resource","FriendlyErrors.txt");
  
      }
  }
  </code></pre>
  
  <p>The compiler says <code>the name 'GetGlobalResourceObject' does not exist in the current context</code></p>
  
  <p>Do I need to include another <code>using</code>?</p>