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 difference between assembly and namespace?
What is difference between virtual and override in c#?
What is the use of 'as' Keyword in C# ?
What are circular references?
How do I do implement a trace and assert?
What is xml document how do you open it?
What is parsing? How to parse a date time string?
What is a console in c#?
So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?
What is use of a HashTable in .NET?
When To use HashTable In C#
What is 8 bit signed integer?
What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default
Is struct object oriented?
Which debugging tools you can use in the .NET ssSDK?