namespace ConsoleApplication45 { class Program { static void Main(string[] args) { , , , , , , }; var numsQuery = from n in numbers //查询语法 select n; ); //发放查询 int numsCount = (from n in numbers //两种形式组合 select n).Count(); foreach (var x in numsQuery…