What will happen,when we compile below C# code?

string str;
MessageBox.Show(str);

 Posted by vishalneeraj-24503 on 12/23/2013 | Category: C# Interview questions | Views: 2437 | Points: 40
Select from following answers:
  1. It will compile successfully.
  2. It will show message as nothing.
  3. It will give compile-time error.
  4. It will give run-time error.
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response