简单Linq语句查询排序

查询数组中全部偶数,按大小排序数组 int []nums = { 1, 8, 4, 7, 3, 2, };            /* var Q1 = from num in nums                      where num % 2 == 0                      orderby num                      select num;
相关文章
相关标签/搜索