What output will be come from the code:
private void ShowMessage()
{
try
{
MessageBox.Show("Try block.");
return;
}
catch
{
MessageBox.Show("Execption.");
}
finally
{
MessageBox.Show("Finally.");
}
}

 Posted by Kundan64 on 1/15/2013 | Category: OOPS Interview questions | Views: 12931 | Points: 40
Select from following answers:
  1. Try block. Finally.
  2. Execption. Finally.
  3. Unreachable code. Compile time error.
  4. Finally.
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response