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
Where value types are stored in c#?
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
What is executereader in c#?
Is c# queue thread safe?
What are the differences between events and delegates in c#?
What is code verification?
How many root nodes are there in an xml document?
Explain partial class in c#?
Can we customize the serialization process?
Why is it not a good idea to use empty destructors?
What is writeline?
Why do we use parameters in c#?
Can you create an instance of a static class?
What is monitor in C#?
Is it possible to have different access modifiers on the get/set methods of a property in c#?