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 is faster array or arraylist in c#?
Can you declare a field readonly?
Explain About Virtual functions and their use.
Explain boxing and unboxing in c#?
What is different between Implicit conversion and Explicit conversion in C#?
Is dictionary a collection?
What is the difference between abstract and virtual?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
Who is a accessibility modifier “protected internal†available to ?
What is difference between C# and VB.NET?
Can class inherit from struct c#?
What is the difference between returning iqueryable vs ienumerable?
What I can do with c#?
How do I convert a string to an int in c#?
Why it's said that writing into .NET Application Configuration Files is a Bad Idea?