title: How i can group by enum c# list
body: <p>i have a list of custom object and i want to group the object with the enum they have in the custom object.</p>
  
  <p>how i can do this in c#</p>
  
  <p>i want to new list of the existing list by their enum means each list have a difference enum </p>
  
  <pre><code>   public struct xyz
          {
              public int ID;
              public string Name;
              public ClassType Type;
          }
  </code></pre>
  
  <p>i want to make a new list who have a different enum</p>