title: Unable to use Environment.GetResourceString static method
body: <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace ConsoleApplication
  {
      class Program
      {
          static void Main(string[] args)
          {
              var x = Environment.GetResourceString("test"); //compile-time error
          }
      }
  }
  </code></pre>
  
  <p>The error is: 'System.Environment' does not contain a definition for 'GetResourceString'.</p>
  
  <p><strong>EDIT</strong>: OP has stated that he's using the Compact Framework, v3.5.</p>
  
  <p>I dont get the picture, what's wrong with my code? Thanks!</p>