A subquery is a query contained within another query's lambda expression. : Sub Query : LINQ C# Source Code


Custom Search

C# Source Code » LINQ » Sub Query »

 

A subquery is a query contained within another query's lambda expression.








    
 

using System;
using System.Collections.Generic;
using System.Linq;
public class MainClass {
    public static void Main() {

        string[] musos = { "D G", "R W", "R W" };
        IEnumerable<string> query = musos.OrderBy(m => m.Split().Last());
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo LINQ
» Sub Query