What will be the output for the following:
String str1="Hello";
String str2=str1;
str1=str1+"C#";
Console.WriteLine(str2);

 Posted by Syedshakeer on 9/3/2009 | Category: C# Interview questions | Views: 15128
Select from following answers:
  1. Hello
  2. HelloC#
  3. Hello C#
  4. HelloHelloC#
  5. All Above

Show Correct Answer


Asked In: ValueLabs | Alert Moderator 

Comments or Responses

Login to post response