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 properties and indexer in c#?
Is php better than c#?
What do you mean by sealed classes and static classes?
What are Memory foot print of an exe?
What is the use of parse in c#?
How do you create partial methods?
Why is aws serverless?
What is the default value of singleordefault?
How do you comment out code in c#?
Why is main static in c#?
What is private class in c#?
In how many ways you can overload a method?
What is writeline in c#?
How C# 4.0 supports dynamic programming language?
What is an Interface in C#?