+ 4
Why does division of 0 crash your program and C#?
The title says it all.
3 Respostas
+ 5
because zero shows the absence of value and dividing by nothing is like infinity
+ 18
bcz it is undefined
+ 4
Use exception handling, like this:
catch (DivideByZeroException e) {
Console.WriteLine("Cannot divide by 0");
https://www.sololearn.com/learn/CSharp/2690/