Learn about the techniques and guidelines you can use to make your application stable and less prone to errors, hande errors in a graceful manner, and avoid crashing.
Latest Error Handling Articles - Page 2
Learn about the risks of an exception being thrown where it is generally not expected, and ways to prevent some insidious errors.
Although the .NET Framework provides many standard exceptions, you also can create, throw, and catch your own custom exceptions. In fact, custom exception types are a powerful feature of the VB .NET language.
Garbage collection does not determine when resources are collected, so it's up to you to protect classes that use finite resources that need some deterministic cleanup. Learn how the using block—a shorthand version of the try-finally block—enables you to do so.
This month, .NET Nuts & Bolts covers exception handling, examining what exceptions are and why they are important. You'll learn how to use them, how to create custom exceptions, and how to apply common best practices.
One often-overlooked ability of .NET is that you can create a custom exception handler that will allow you to catch all unhandled exceptions thrown during the execution of your application.
Latest CodeGuru Developer Columns
Go hands on in using each of the standard library's five sequence containers.
Continuing this series on .NET controls, Part 3 will talk about ListBoxes.
Here's a beginner-level discussion of using checkboxes in your .NET programming.
Explore how to create and use a Ubuntu virtual machine.