how to overload postfix and prefix operator in c#
<p>How do we implement the overload for postfix and prefix operators in c#</p>

<pre><code>void Main()
{
    MyClass myclass=new MyClass();
    myclass.x=5;
    Console.WriteLine((++myclass).x);
          Console.WriteLine((myclass++).x);
}

public class MyClass
{
    public int x;
    public static MyClass operator ++(MyClass m)
    {
        m.x=m.x+1;
        return m;
    }

}
</code></pre>

<p>this might be an unnecessary operator overload, but its known that ++ operator can be overloaded. How do we achieve the different behaviour here ( i++, ++i)</p>
