Nov 21 2011, 01:15 PM
If we want to make our program more powerful and stylish, we need to stop it from crashing on Overflows & Errors, so we use this code to prevent it from crashing, & instead reporting the Error or the cause..
We use these two Methods like this:
We use these two Methods like this:
Code:
try
{
//What you want...
}
catch (Exception ex)
{
Messagebox.show (ex.message);
}