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 the base class from which all value types are derived?
Explain how to parse a datetime string?
What is the symbol used for in c#?
Write a program in C# for checking a given number is PRIME or not.
What is connection pooling in ado.net?
how encapsulation is implemented in c#
What are access modifiers in c#?
What is the difference between constant and readonly in c#?
What is a framework in c#?
What is typeof c#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What are annotations in c#?
What is expandoobject in c#?
What is written in c#?
What does console mean c#?