----------------------------------------------------主程序usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication10
{
classProgram
{
staticvoidMain(string[]args)
{
PhoneInfop..
分类:
其他好文 时间:
2014-08-15 02:44:57
阅读次数:
162
C#2.0 泛型,可空类型,匿名方法,更方便的委托,迭代器,分布类型,静态类,包含不同访问修饰符的属性的取值和赋值方法,命名空间别名,pragma指令,固定大小的缓冲器。C#3.0 LINQ,自动属性,var,对象和集合的初始化器,匿名类型,Lambda表达式,扩展方法C#4.0 可选参数,命...
分类:
其他好文 时间:
2014-08-15 01:27:36
阅读次数:
190
Server:using System.Net;using System.Net.Sockets;using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ServerCon...
分类:
其他好文 时间:
2014-08-14 19:38:39
阅读次数:
134
LINQ to SQL语句(1)之WhereWhere操作适用场景:实现过滤,查询等功能。说明:与SQL命令中的Where作用相似,都是起到范围限定也就是过滤作用的,而推断条件就是它后面所接的子句。Where操作包含3种形式,分别为简单形式、关系条件形式、First()形式。以下分别用实例举例下:1...
分类:
数据库 时间:
2014-08-14 15:59:58
阅读次数:
416
第二篇 配置WCF在上一篇中,我们在一个控制台应用程序中编写了一个简单的WCF服务并承载了它。先回顾一下服务端的代码:[csharp]view plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSys...
分类:
其他好文 时间:
2014-08-14 10:33:48
阅读次数:
246
using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace AnyConvertx2x { /// /// 数字进制转换类 /// public class AnyC.....
分类:
其他好文 时间:
2014-08-14 08:10:38
阅读次数:
232
实现如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public class Number { public str...
分类:
其他好文 时间:
2014-08-14 01:23:47
阅读次数:
202
using System;using System.Collections;using System.Collections.Generic;using System.Data;using System.Diagnostics;using System.Linq;using System.Text;...
分类:
其他好文 时间:
2014-08-14 01:10:07
阅读次数:
279
1 using System; 2 using System.Collections.Generic; 3 using System.Data; 4 using System.Data.SqlClient; 5 using System.Linq; 6 using System.Reflectio....
分类:
数据库 时间:
2014-08-13 21:53:07
阅读次数:
289
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.SS.Formula.Functions;
using System.IO;
using System....
分类:
其他好文 时间:
2014-08-13 18:46:07
阅读次数:
223