title: C# Linq execute method over results from Distinct() method
body: <p>I have this code that will execute Console.WriteLine(x) on every object in what Distinct() will return.</p>
  
  <pre><code>objects.Distinct().ToList().ForEach(x =&gt; Console.WriteLine(x));
  </code></pre>
  
  <p>However, how can I achieve the same thing without using ToList()?</p>