lLinq学习笔记(14)- Count操作

by Kimi 4. November 2009 09:07

Kimi Yang

示例1:

    使用Count,统计数组中的元素个数。

    运行结果:

 

示例2:

    带条件的Count, 统计数组中的奇数个数。

运行结果:

 

示例3:

    嵌套的Count。

运行结果:

 

示例4:

    在Group中使用Count。

    运行结果:

Tags:

技术文章

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



Copyright © 2009 APJ Software

最新评论

Comment RSS

公告

欢迎使用APJ Blog!

日历

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar