Here a little of code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] args) { int[] nums = new int[] { 0, 4, 2, 6, 3, 8, 3, 1 }; var result = from n in nums where n < 5 orderby n select n; foreach (int i in result) Console.WriteLine(i); Console.WriteLine(); ...
Comentarios
Publicar un comentario