C# FAQ: Does CSharp have a throws clause
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| CSharp-Online.NET:FAQs |
| edit |
[edit]
Does C# have a throws clause?
No, C# does not have a throws clause. Unlike the Java language, C# does not allow developers to specify the exceptions which a method can throw.
[edit]