What will be the output of the below code segment?

class Program
{
static void Main(string[] args)
{
Console.WriteLine(new List<double>() { 1, 2.06, -36.4, -4, 5.90, 61.9, 79.8, 8, 9, 18.0, 23.7 }.OrderBy(o => o).Take(1).Single());
Console.ReadKey(true);
}
}

 Posted by Rajnilari2015 on 10/24/2015 | Category: C# Interview questions | Views: 2483 | Points: 40
Select from following answers:
  1. 5.90
  2. -36.4
  3. 79.8
  4. 61.9
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response