TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Steph Bassos
NA
17
15.6k
Ordered Catch
Aug 14 2013 11:18 PM
Can't get this to run to show an ordered catch. What is wrong?
{
class Program
{
static void Main(string[] args)
{
try
{
int x = 0;
int y = 5 / x;
}
catch (ArithmeticException ex)
{ //derived
MessageBox.Show(ex.Message);
}
catch (Exception ex)
{ //base
MessageBox.Show(ex.Message);
}
}
}
}
Reply
Answers (
1
)
multiline textbox serching
LINQ