<script language="C#" runat="server"> protected void Page_Load(object o, EventArgs e) { try { int x; int y;
x = 5;
y = 0; int result = x / y;
string message = "result is: " + result;
Response.Write(message);
} catch(DivideByZeroException) {
Response.Write("divisor can't be zero");
}
}
</script>