using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinqExer2 { class Program { static void Main(string[] args) { //1.LINQ实例一 //int[] number = { 2, 4, 3, 5, 7, 21, 34 }; //var…