Trap Runtime Errors (.NET)

.NET supports common and language specific ways to handle errors at runtime. The Try and Goto statements can be used to handle errors at runtime in C#.

For more information on the Try and Goto statements beyond what is mentioned in this guide, see the documentation that comes with your programing language.