Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
nested try catch
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here try{ try{ int b=5; int c=0; Console.WriteLine("1"); int a=b/c; } catch(Exception ex){ throw ex; Console.WriteLine("2"); } finally{ Console.WriteLine("aaa"); } } catch{ Console.WriteLine("3"); } finally{ Console.WriteLine("4"); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Table of 3 and 5 using threads
Aggregate Exception
Bb
Unary example
csharp enum
a.i. neural framework / J.A.R.V.I.S. / Just A Rather Very Intelligent System
Palindrome Number
lit pe
Array merge
filter distinct items from the array without builtin function - Seeni
Please log in to post a comment.