簡單Linq語句查詢排序

查詢數組中全部偶數,按大小排序數組 int []nums = { 1, 8, 4, 7, 3, 2, };            /* var Q1 = from num in nums                      where num % 2 == 0                      orderby num                      select num;
相關文章
相關標籤/搜索