When i use the Math library. like this.
 14-   int Result = 0;
 15-   Math.DivRem(1, 0, out Result);
The exception is marked in the line 15, but if i use my own Math Library, like this.
class MyMath
{
    public static decimal DivRem(int a, int b)
    {
        return a / b;
    }
}
and then call it.
 14-   int Result = 0;
 15-   MyMath.DivRem(1, 0);
The error is market inside my static DivRem in the line "return a / b;"
How can i achieve that?
ideas? thanks.
 
     
     
     
    