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 does the parsefloat function do?
Describe a Struct ?
In a site to turn off cookies for one page which method is followed?
What is inheritance in csharp?
what is the difference between interface and multiple interface?
What is difference between .net and c#?
What is inline function in c#?
What is private protected in c#?
Differentiate between static class and singleton instance?
What is Covariance and contravariance in C#?
Difference between a sub and a function in c#.
What are controls in c#?
Is it possible to execute multiple catch block for a single try statement?
What is lambda expression in c#?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.