+ 2
Dividing by 0.0 does not throws DivideByZero Exception?
Why does the statements A, B and C produces infinity while D alone throws DivideByZeroException? // unendlich A: Console.WriteLine(1.0/0); B: Console.WriteLine(1.0/0.0); C: Console.WriteLine(1/0.0); // DivideByZeroException D: Console.WriteLine(1/0);
0 ответов