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
Is string passed by reference in c#?
Can I call a virtual method from a constructor/destructor?
When a switch is said to be congested?
Explain states of a thread in c#?
What is the difference between early binding and late binding in c#?
What is fcl in c#?
Can you pass parameters to destructors?
What is the use of table aliases?
Is inheritance possible in c sharp?
what is the index value of the first element in an array?
What is a Command Object in C#?
How do I register my code for use by classic com clients?
What namespace is list in c#?
For methods inside the interface why can’t you specify the accessibility modifier?
Where is the keyword void used?