csharp Trigger Runtime Error

int i = 1;
int j = 0;
i = i / j;
Response.Write(i);
This triggers a runtime error - useful for catching errors when testing error handling.

Updated: Thursday 14th April 2011, 22:33am

There are 0 comments

Leave a comment of your own

Comments are currently closed.