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
What is the difference between int and int in c#?
What is entity framework in c#?
What is ilist c#?
What is a private class in c#?
State two different types of access modifiers.
Give an example to show for hiding base class methods?
Is system a class in c#?
How do I format a string in c#?
To whom a method is accesssed if it is marked as protected internal ?
How jit (just in time) works?
What is arraylist class in c#?
Is datetime a value type in c#?
What is static class in C#?
What is session c#?
Define c# i/o classes?