using System;
using System.Collections;
class Class1 {
static void Main(string[] args) {
long lngResult;
long lngValue = 0;
try {
lngResult = 8 / lngValue;
}
catch {
Console.WriteLine("catch");
}
finally {
Console.WriteLine("finally");
}
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok