Answer Posted / vijay saxena
No,
try
{
int p = 0;
int t = 6 / p;
}
catch (ArithmeticException ex)
{
Console.WriteLine("Arithmetic Exception");
}
catch (Exception ex)
{
Console.WriteLine("General Exception");
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an implicit conversion and an explicit conversion?
How C# 4.0 supports dynamic programming language?
Can we override interface method?
Can you declare a class or a struct as constant?
What is iqueryable in linq?
Define assert() method? How does it work?
If I return out of a try/finally in c#, does the code in the finally-clause run?
Where is c# compiler located?
How many types of serialization are there in c#?
Can we inherit sealed class in c#?
What is the difference between firstordefault and first?
What does using do in c#?
What are the different types of classes?
Is string passed by reference in c#?
Why do we need delegates?