title: Casting Linq Query to a Structure in .Net
body: <p>Good Morning,<br>
     I have created a structure to be a cut down version of a Class that I already have.
  I am trying to use a linq query to iterate through the list of MyClass and create a List based on the results (A discinct list based on a few of the properties on MyClass). Something like this...</p>
  
  <pre><code>List&lt;MyStructure&gt; thisList = (from MyClass thisClass in List&lt;MyClass&gt;
                                select thisClass.Property1, thisClass.Property2, thisClass.Property3 Distinct.Cast&lt;MyStructure&gt;()).ToList&lt;MyStructure&gt;();
  </code></pre>
  
  <p>where MyStructure contains 3 variables of Property1, Property3 and  Property3 with the same types.</p>
  
  <p>I am fully aware that the above code wont compile, but that is the sort i am trying to do. Could someone please tell me if this is possible to do?</p>
  
  <p>Thanks</p>