C# Programming/Keywords/catch
Appearance
From Wikibooks, open books for an open world
The latest reviewed version was checked on 8 June 2017. There are template/file changes awaiting review.
C# Programming
Cover | Introduction | Basics | Classes | Advanced Topics | The .NET Framework | Index
Cover | Introduction | Basics | Classes | Advanced Topics | The .NET Framework | Index
The keyword catch
is used to identify a statement or statement block for execution, if an exception occurs in the body of the enclosing try
block. The catch clause is preceded by the try
clause, and may optionally be followed by a finally
clause.
C# Keywords |
---|
Special C# Identifiers (Contextual Keywords) |
Contextual Keywords (Used in Queries) |