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
How do you create user defined data types in c#?
What is byte c#?
What are the concepts of dispose method?
What is callback method in c#?
Why do we parse in c#?
What is namespace c#?
Write a C# program to find the Factorial of n
What is virtual class in C#?
hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......
Explain how to use an extender provider in the project.
For methods inside the interface why can’t you specify the accessibility modifier?
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
What is an assembly in .net?
How many types of serialization are there in c#?
Suppose two interfaces have same method, so how will you implement these methods in derive class?