Explain about throw keyword?
Answer Posted / vibhor shukla
throw is used to throw an exception from any part of the
program not necessarily the method only.
whereas throws is particularly used to throw an exception
arising out of the use of a method to the exception handler
which is the catch block..
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is string interpolation in c#?
What is the components of window?
What Is A Satellite Assembly?
Is double a decimal?
Explain the various types of classes used in c#?
Is multiple inheritance possible in c#?
What is xslt in c#?
Define Abstract Class in C#
What is type cast in C#?
What is jit? What are the different types of jit?
Describe the ways of cleaning up objects in c#.
What is entity framework in c#?
Explain how to implement delegates in c#.net
Why linq is having select clause at the end?
What is console programming language?