What is difference between throw and throws in c#?
Answer / Anupam Rani
In C#, 'throw' keyword is used to throw an exception at runtime, while 'throws' is a part of Java's method signature that declares which exceptions the method can throw.
| Is This Answer Correct ? | 0 Yes | 0 No |
can we throw execption from catchblock
Can we have a non static member function in a base class to be override in derived with static modifier?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
What is the purpose of namespace in c#?
Why do we use static class in c#?
What is a Managed Code??
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?
What is difference between asp net and c# net?
Explain About the Sattilite Assembly in .Net Technology?
Can fields inside a class be virtual?
Explain the difference between const and static read-only?
what is the purpose of interface in c#.net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)