CHEETAH.W

静心积累

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年8月8日

摘要: int[] oddNums = // using named methodCommon.FilterArrayOfInts(nums, Application.IsOdd);int[] oddNums = // using anonymous methodCommon.FilterArrayOfInts(nums, delegate(int i){return((i & 1) == 1);}... 阅读全文
posted @ 2012-08-08 17:18 Ethan.Wong 阅读(192) 评论(0) 推荐(0) 编辑

摘要: Apress.Pro.LINQ.Language.Integrated.Query.in.C#2008 Array: string[] greetings = { "hello world", "hello LINQ", "hello Apress" };var items = from s in greetings where s.EndsWith("LINQ")... 阅读全文
posted @ 2012-08-08 17:12 Ethan.Wong 阅读(152) 评论(0) 推荐(0) 编辑