You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/solutions/misc/exceptions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ Entering 0 would not raise any exception.
78
78
else return p*p;
79
79
}
80
80
```
81
-
Note that this code additionally throws an exception if the parameter is less than 46341.
81
+
Note that this code additionally throws an exception if the parameter is less than -46341.
82
82
</details>
83
83
#. Write a `Divide` method that takes two `int` arguments and returns the result of dividing the first parameter by the second. If the second parameter is 0, then the method should throw an `ArgumentOutOfRangeException` exception.
0 commit comments