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.
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.
Answers
Know the answer? Post it. Somebody with the same question will find it here.