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

Explain About a class access specifiers and method access specifiers.

534


Why delegate is used in c#?

470


What is array class in c#?

457


What is difference between managed and unmanaged code?

493


What do multicast delegates mean?

525






How to implement an object pool in c#.net.

544


What is the use of regex in c#?

494


What are partial types in c#?

487


How to install or uninstall a windows service?

566


What is difference between il and dll ?

524


What is the use of functional interface?

475


Explain the difference between a sub and a function in c#.

528


Which programming language is best for desktop applications?

452


What is the difference between string and string in c#?

463


Can class inherit from struct c#?

507