How to fix casting error?
<p>When i complile the code </p>

<pre><code>class customer
{
Order getOrder;
public IEnumerable&lt;Order&gt; MyOrders
{
    get { return getOrder; }
    set{getOrder=value;}
 }
}

class Order:IEnumerable&lt;Order&gt;
{
    string itemName;

    public string ItemName
    {
        get { return itemName; }
        set { itemName = value; }
    }
    public IEnumerator&lt;Order&gt; GetEnumerator()
    {
        return (IEnumerator)this.GetEnumerator();
    }
  IEnumerator IEnumerable.GetEnumerator(  )     
  {                                            
      return this.GetEnumerator ();
  }
}
</code></pre>

<p>I receive 
Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'Order'</p>

<p>How to fix it?</p>
