What will be the output of the below code segment?

class Program
{
static void Main(string[] args)
{
Console.Write(new List<string>() { "grapes", "tomato", "apple", "potato" }.OrderBy(o => o)
.SequenceEqual(new List<string>() { "potato", "apple", "grapes", "tomato" }.OrderBy(o => o)));


Console.ReadKey(true);
}
}

 Posted by Rajnilari2015 on 10/24/2015 | Category: C# Interview questions | Views: 633 | Points: 40
Select from following answers:
  1. False
  2. True
  3. Don't Know
  4. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response