Explain about throw keyword?
Answer Posted / mandeswara rao
Before catching an exception it is must to be thrown first.
This means that there should be a code somewhere in the
program that could catch the exception. We use throw
statement to throw an exception or simply use the throw
keyword with an object reference to throw an exception. A
single argument is required by the throw statement i.e. a
throwable object.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is an actual parameter?
How do I create multifile assembly?
What is the difference between dictionary and hashtable in c#?
What is the difference between abstract and abstraction?
How to prevent the error while updating ui control from another thread?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
Which programming language is best for desktop applications?
Can you describe iuknown interface in short?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is difference between write and writeline in c#?
What is different between Boxing and Unboxing?
What is the use of inheritance in c#?
What is difference between override and new in c#?
What is the difference between interface and abstract class in c#?
What is a console in c#?