title: object is not recognised in a Linq statement allthough in the same method the object is accessable
body: <p>I have an object <strong>"word"</strong> in a Linq Statement (see: "<strong>from bee in world.Bees"</strong>) that is not recognized although in the same method the object is recognized in the previous row.  I don't now why this is happening. I'm using the word object everywhere in my code without problem. I've made some comments to the code to highlight the problem...</p>
  
  <p><strong>Here are the relevant code fragments:</strong></p>
  
  <pre><code>public partial class Form1 : Form
  {
      private World word;
      public Form1()
      {
          InitializeComponent();
          word = new World(new BeeMessage(SendMessage)); // BeeMessage is a delegate
          .......
      }
  
      private void SendMessage(int ID, string Message)
      {
          int count = word.Bees.Count; //this line works !! now error message            
          // LinQ selection
          var beeGroups =
            from bee in world.Bees        // The item word does not exists in the current context
            group bee by bee.CurrentState into beeGroup
            orderby beeGroup.Key
            select beeGroup;
            ..............
      }
  [Serializable]
  class World
  {              
      public List&lt;Bee&gt; Bees;
      ......
  }
  </code></pre>