Answer Posted / praseetha sandeep
yes, we can throw...
catch(Exception e)
{
....
thow e
}
you can also throw new exceptin of different type
catch(IOException c)
{....
throw new FileNotFoundexception(filename)
}
we can also do like
catch(IOException c)
{
throw new FileNotFoundexception(filename,c)
}
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the interface in c#?
What is data set in c#?
What is multidimensional array in c#?
Explain copy constructor?
Can you explain template pattern?
What is strongly typed view?
Can interface inherit class in c#?
Can arraylist store different data types in c#?
What are Types of assemblies that can be created in dotnet
What is desktop GUI application?
What namespace is list in c#?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
Is clr a compiler?
How do I run managed code in a process?
Explain manifest in c#.