C Sharp (C#) - Exception Handling
What is wrong with the following C# code snippet?
try {
// some code
} catch (Exception ex) {
// handle exception
} catch (NullReferenceException ex) {
// handle null reference
}What is wrong with the following C# code snippet?
try {
// some code
} catch (Exception ex) {
// handle exception
} catch (NullReferenceException ex) {
// handle null reference
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions