Linq Example 23 - First

11:10 PM
Linq Query:

        //First
        string[] strDays = { "Monday", "SaturDay", "Monday", "Friday", "TuesDay", "SaturDay" };
        
        var day = strDays.First();
        Console.WriteLine(day);

        //


Output:
Monday

0 comments:

Post a Comment