What is the output of below C# code?

string str = null;
str = str.ToString();
MessageBox.Show(str);

 Posted by vishalneeraj-24503 on 12/20/2013 | Category: C# Interview questions | Views: 2391 | Points: 40
Select from following answers:
  1. Null
  2. ""
  3. Throw Compile-time error
  4. Throw Run-time error
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response