Answers were Sorted based on User's Feedback
Answer / praseetha sandeep
yes, we can throw...
you can also throw new exceptin of different type
throw new FileNotFoundexception(filename)
we can also do like
throw new FileNotFoundexception(filename,c)
|Is This Answer Correct ?||6 Yes||0 No|
Answer / suman dey
yes we can use 'throw' or new Exception.
|Is This Answer Correct ?||4 Yes||0 No|
Answer / ganni
the 'try' block contains the code which may have the
runtime errors. to handle that errors we use 'catch' block.
|Is This Answer Correct ?||2 Yes||2 No|
What are the different states of a thread?
What is the difference between ienumerable and enumerable?
When should I throw an exception?
Can you inherit multiple interfaces?
Do void methods have parameters?
how to use caching in our program. why we use it give one example in code
Explain about CTS?
Explain what is an interface in c#?
Can u create multiple threads of execution ?
What do you mean by saying a "struct is a value type"?
What is parameterized constructor?
How is exception handling implemented in c#?