What is the danger of using a section of code


Discuss below in a 100 words:

Q: What is the danger of using a section of code like this?

private int Test(int x)
{
try
{
return 10 / x;
}
finally
{
Console.WriteLine("Finished Division");
}
}

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: What is the danger of using a section of code
Reference No:- TGS01939303

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)