What will be the correct output of the following?

string F1 = "Hi amatya";
string F2;
F2 = F1.Substring(4, 2);
Console.WriteLine(F2);

 Posted by Amatya on 4/25/2016 | Category: C# Interview questions | Views: 5918 | Points: 40
Select from following answers:
  1. ma
  2. am
  3. amatya
  4. None of these
  5. All Above

Show Correct Answer


Source: My Notes | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response