Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

somexceptionstuff

Language: Layout:
- ] Show input
Compilation time: 0,11 sec, absolute running time: 0,08 sec, cpu time: 0,08 sec, average memory usage: 13 Mb, average nr of threads: 3 
edit mode |  history
Please Enter a Number, I will attempt to divide 1337 with it.
If you enter 0 we handle the exception, give you and the devs some nice information and continue with the program.
If you do not enter a Number* the exception will not be handled by me and this code will stop running...
Try it!

You entered: 123
Dividing a Number by your chosen number resulted in 10
The Program will now Exit...

    
                
λ
.NET NoSQL database for rapid development