Why is catch(Exception) almost always a bad idea?

Answer Posted / senthilselvan

if you know what kind of error may occur in that block mean
, will it be right to use catch block without handling the
proper validation?

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Diff between web user control and web custom control?

496


How does viewstate work?

571


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

534


Explain in what order a destructors is called.

575


What is the difference between “Web.config” and “Machine.Config”?

694






What are the advantages and limitations of query string?

564


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1407


What is difference between session and cookie?

511


What is a server cookie?

495


Which validator control you use if you need to make sure the values in two different controls matched?

643


Can we use a static function with a non-static variable?

505


What is the difference between custom web user control and a custom web server control?

497


Are cookies client side or server side?

494


Where the cookie value is stored?

507


What are the 3 types of web?

502