C# 3.0 LINQ to XML

高级转换: static IEnumerable ExpandPaths (IEnumerable paths) { var brokenUp = from path in paths let split = path.Split (new char[] {...

2013-09-29 16:49:11

阅读数:1321

评论数:0

C#3。0 LINQ 操作符

Table 类: public class DemoDataContext : DataContext { public DemoDataContext (string cxString) : base (cxString) {} public Table Customers { ge...

2013-09-29 16:46:36

阅读数:1592

评论数:0

快速预览:C# 3.0的新东西

Lambda 表达式: Func doubleAppend= x => x + x; Console.WriteLine (doubleAppend(“test”)); // testtest LINQ 查询: string[] names = { "Tom",...

2013-09-28 22:58:15

阅读数:1227

评论数:0

提示
确定要删除当前文章?
取消 删除