Logo 
Search:

C# FAQ

Submit Interview FAQ
Home » Interview FAQ » C#RSS Feeds

Does C# have a 'throws' clause?

  Shared By: Laurel Collins    Date: Nov 28    Category: C#    Views: 843

Answer:

No, unlike Java, C# does not require (or even allow) the developer to specify the exceptions that a method can throw.

Share: 
 

Didn't find what you were looking for? Find more on Does C# have a 'throws' clause? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: