Explain about throw keyword?

Answer Posted / mahesh pyla

Throw is a keyword,which gives an indication to the calling
function to keep the called function with in try and catch
blocks for generating user friendly messages instead of
generating system error message.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does main have to be static c#?

496


If you define a user defined data type by using the class keyword, is it a value type or reference type?

511


How many constructor can a class have?

477


What is an xsd file?

513


What is the use of getcommandlineargs() method in c#.net?

520






What is deadlock in c#?

511


What is the default value of decimal in c#?

500


Why do we use 0?

508


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

517


What is public void in c#?

513


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

554


How to find methods of a assembly file (not using ILDASM)?

649


Which framework is best for desktop application?

528


How to use exception handling in stored procedure?

548


Is multiple inheritance possible in c#?

567