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
Does c# do array bounds checking?
Can we inherit static class in c#?
Is null empty or whitespace c#?
What is trim in c#?
What is difference between comparable and comparator?
Why do we parse in c#?
Name some properties of array.
Classes and structs can be declared as static, is this statement true or false?
Give an example of a directcast.
What is window application in c#?
What is appdomain in c#?
Can we create multiple constructors?
Can I fly with a loop recorder?
What happens if the inherited interfaces have conflicting method names?
What is the difference between icomparer and icomparable in c#?