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
Explain About delegates
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?
What is hierarchical inheritance in c#?
What is local function?
Why do we overload constructors?
What is assembly manifest?
What is a dictionary in c#?
Can destructors have access modifiers?
Is it true that all c# types derive from a common base class?
Do loops c#?
Is a dll an assembly?
Which of the following operations can you not perform on an ado.net dataset?
What are the basic string operations? Explain.
What is the use of tuple in c#?
Classes and structs can be declared as static, is this statement true or false?