title: Cannot implicitly convert type 'int' to 'System.Collections.Generic.List<QuickTest.Stock>'
body: <p>I have the following code:</p>
  
  <pre><code>static void Main(string[] args)
      { 
          List&lt;Stock&gt; ticker = new List&lt;Stock&gt;();
          ticker.Add(new Stock("msft"));
          ticker.Add(new Stock("acw"));
          ticker.Add(new Stock("gm"));
  
          ticker = ticker.OrderBy(s =&gt; s.Name).ToList();
  
          foreach (Stock s in ticker)
          {
              Console.WriteLine(s.Name);
          }
  
          Console.WriteLine("\n");
          ticker = ticker.RemoveAll(s =&gt; s.TickerSymbol == "gm");
  
          foreach (Stock s in ticker)
          {
              Console.WriteLine(s.Name);
          }
      }
  </code></pre>
  
  <p>Stock is an object that has string properties TickerSymbol and Name. It also has double properties Price, ChangeDollars, and ChangePercent.</p>
  
  <p>The second LINQ statement I wrote is throwing an error with the message, "Cannot implicitly convert type 'int' to 'System.Collections.Generic.List'". I am confused as to where the type 'int' is coming from and how to fix this error, as I dont use any int values anywhere in the program.</p>
  
  <p>I am very new to LINQ as well, this is my first time using it. This error could very well be a result of some intricacy of LINQ that I am not aware of.</p>
  
  <p>Anyone know why this error is happening and how to fix it?</p>