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 ref and out parameters in c#?
Can I use exceptions in c#?
What is the default value of boolean variable?
Is string nullable in c#?
How can an inner class access the members of outer class?
What is the use of nullable types in c#?
What are strong name assemblies?
What is expression tree in c#?
What is task parallel library?
What is the solution if you need to manipulate sets of items?
Explain briefly the difference between value type and reference type?
Explain about c# language.
What are the 2 broad classifications of data types available in c#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
How to put assembly in gac?