If all code is written in a try block and write a catch
block with Exception type Exception .In that scenario will
all the exceptions catched by that catch block? or any
exceptions which will not be caught?
Answer Posted / vinay tiwari
if we use some piece of code that return in different
language then there may be exception that are not define in
exception class to catch these type of exception we use
general catch handler
for exe
try
{
........
}
catch
{
..........
} //catch block without parameter is called general catch
handler
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Differentiate between object pooling and connection pooling in c#?
What is a string in c#?
What is the use of static in c#?
What is multithreading with .net?
Differentiate between sqlclient oledb and providers?
Can class inherit from struct c#?
Can firstordefault return null?
What is the use of flag in c#?
What is the purpose of private constructor in c#?
What is object type in c#?
Can a abstract class have a constructor?
How does return work in c#?
While debugging a C# application can you change the value of a variable?
What is “using” statement in c#?
What is Event - Delegate?