How to throw an caught exception from cath block?
Answer Posted / chandana
use the 'throw' keyword to throw an exception from a catch
block. ex,
catch (Exception e)
{
throw e;
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Why generics are used?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
What is default value of bool in c#?
Are structs value types or reference types?
Why objects are stored in heap in c#?
How many bytes is a long c#?
Explain code compilation in c#.
How do you type a null character?
What is use of list in c#?
What is var c#?
What does a constructor do c#?
What is the difference between CreateObject() and GetObject()?
Can you declare struct members as protected?
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 the delegate in c#?