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 extension method in c sharp?
Which sorting algorithm is best?
What is streamreader/streamwriter class?
Is Facebook a desktop application?
Why array is faster than arraylist in c#?
How do you set a class path?
What is the difference between delegates and events in c#?
Are structs value types c#?
What is the use of protected in c#?
Is c# pass by reference?
Is null in c#?
What is difference between managed and unmanaged code?
What is private static in c#?
What is COM Interoperability?
Can firstordefault return null?