Answer Posted / prosanta
yes,
follow this example-
static void Main(string[] args)
{
try
{
throw new Exception();
}
catch
{
try
{
Console.WriteLine("This is the 1st
exception");
throw new Exception();
}
catch
{
Console.WriteLine("This is the 2nd
exception");
Console.Read();
}
}
}
output:
This is the 1st exception
This is the 2nd exception
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is bit in c#?
What is enum in c#?
What is Web.config?
What are the benefits of using windows services:
What is a delegate? How can it works?
What is writeline?
What is difference between const and static in c#?
How do I develop c# apps?
How do you escape in c#?
What is the use of expression tree in c#?
What do you understand by 'access specifiers' in C#?
Do events have return type c#?
What is a clr host?
Are private members inherited in c#?
Explain the difference between arraylist and array and in c#?