服务器端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Net.S...
分类:
其他好文 时间:
2014-07-22 22:56:34
阅读次数:
160
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication3.Model{ public class LogEntry ...
分类:
其他好文 时间:
2014-07-19 20:37:00
阅读次数:
177
using demo02.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Win...
第一部分学习函数式思维
捡起这本书的原因可能很多。可能是在学习 LINQ 和 C# 3.0,或者受此影响的别的技术时,听到过函数式编程,你想知道它是否有还其他意思;也可能听说过函数式编程可以使写并行或异步程序更容易;也许听说过函数风格的其他有趣应用,比如,如何写出没有可变状态的程序;还可能已听说过一种叫 F# 的新语言,将会成为 Visual Studio 2010 的一部分,你可能想知道...
分类:
其他好文 时间:
2014-07-17 20:14:35
阅读次数:
188
作业要求是汇总之前学过的基础知识,可以说 学的乱七八糟,一塌糊涂! 这里写了石头提及的几个重点,比如泛型,委托。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Refle...
分类:
其他好文 时间:
2014-07-17 18:35:16
阅读次数:
205
效果图:数据库表:DirID:目录的ID,ParentID:目录的父路径ID,Name:目录的名字主要代码:usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;...
分类:
其他好文 时间:
2014-07-17 14:30:49
阅读次数:
270
描述:该问题出现在校对BT种子数据的时候遇到的bug,原因是使用linq查找元素的时候B是A的一个子集, B在A中一定存在,这种情况下就不会抛出异常情况,反之B的一部分不属于A就会异常应为B中的一个元素在A中查找是没有找到,此时使用First()就会有bug用FirstOrDefault或者Find...
分类:
其他好文 时间:
2014-07-17 14:11:25
阅读次数:
359
.NET模型验证组件FluentValidation基于LINQ表达式方法链Fluent接口验证组件:FluentValidation for .NEThttp://blog.csdn.net/cqkxzyi/article/details/9983965http://www.2cto.com/kf...
分类:
Web程序 时间:
2014-07-16 17:46:53
阅读次数:
221
包括C#方法和SQL方法。C#using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { ...
分类:
其他好文 时间:
2014-07-16 15:39:21
阅读次数:
195
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u...