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
Which .gang of four. Design pattern is shown below?
What is the difference between abstract and virtual?
What's new in c#?
What is inheritance c#?
Explain the advantage of using system.text.stringbuilder over system.string?
what is the difference between .dll and .exe
How many variables do you need?
What is public void in c#?
How to reverse each word in a string using c#?
What are collection classes?
What is dll hell, and how does .net solve it?
How many bytes is an int in c#?
Is there a way to force garbage collection?
Why do we use virtual methods in c#?
In .NET how can you solve the DLL Hell problem?