Suneel Kumar

Suneel Kumar

  • NA
  • 15
  • 0

How to overload postincrement operator in C#

Aug 17 2006 8:35 AM

class test{

public int i;

public static test operator ++(test i){

t.i++;

return t;
}

}
This is how i implemented pre increament. How to do this fro post increment.