自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1683)
  • 收藏
  • 关注

原创 C#3.0之LINQ(1)

 LINQ,即Language Integrated Query。很多人熟悉SQL语言,用它来操作数据库非常方便。现在在C#3.0中也可以使用相同的语法来操作各种数据,包括数组,文件,数据库等。由于LINQ的东西比较多,准备分三次讲,第一次主要介绍一下LINQ,第二次主要介绍用LINQ操作数据库,第三次主要介绍用LINQ操作XML,第四次主要介绍LINQ的一些函数应用。有时间在写一些关于LINQ的

2007-07-31 23:22:00 1320 3

原创 C#3.0之Lambda表达式

随着编程语言的演进,我们可以看到一个非常明显的趋势:让计算机去理解程序员,而不是程序员去理解计算机。从C#3.0中Lambda表达式可以明显看出这一点来。现在看个例子://使用C# 2.0 中的匿名方法查找“内部包含Lambda子串的所有字符串”:list.FindAll(delegate(string s) ...{return s.Indexof(“Lambda”) > =0; }

2007-07-26 13:55:00 1433

原创 C#3.0之匿名类型

C#3.0允许我们在局部声明匿名类,这样我们可以简单的存储一些数据。看一下例子: var p1 = new ...{ Name = "Lawnmower", Price = 495.00 }var p2 = new ...{ Name = "Shovel", Price = 26.95 };p1 = p2;//p1,p2为匿名类,可以使用new创建一个匿名类的对象匿名类直接

2007-07-25 15:32:00 945

原创 C#3.0之对象与集合初始化

我们知道在C#2.0中要初始化一个对象可以用构造器,或者声明公有属性,然后在new一个对象之后在对属性赋值。必须一步一步的来,在C#3.0中可以有一种很简单的方法对对象和集合进行初始化工作。看个例子: public class Point ...{int x, y;public int X ...{ get ...{ return x; } set ...{ x = value; 

2007-07-25 07:56:00 925

原创 C#3.0之扩展方法

我们知道在一个类写好之后,在想为这个类加一些新的实例方法,几乎是不可能的,那还得重新编译这个类。而在C#3.0中这个问题得到了很好的解决,使用扩展方法可以轻松的为某个类进行实例方法的扩展。先看一个例子:  //注意只有静态类中的方法才能使用扩展方法public static class Extensions......{public static void Foo(this s

2007-07-24 12:56:00 852

原创 C#3.0之隐含类型局部变量

我们知道语言大概可以分为两大类:强类型语言,譬如C#,JAVA,C等和弱类型语言,譬如javascript强类型语言每个变量必须有明确的类型,如int,double等,而弱类型语言则没有这样的要求,譬如JS中的类型都可以是var。微软在C#3.0中引入的一个新的关键字"var",可以代表任何类型,但是请不要认为C#在往弱类型化发展,这里的"var"和JS中的"var"有本质区别的。下面先看几个

2007-07-23 16:10:00 959

原创 C#3.0初探

 作为一个.NET的初学者,很关注微软.NET平台的发展,也对这个平台很有兴趣。.NET平台给我们带来了很多的惊喜,避免了J2E平台的垄断地位,虽然说微软的.NET平台在最初开始的时候有仿造之嫌,但是随着.NET的发展,我们看到了越来越多的和J2E平台的不同之处。两大平台各有各的好处,没有必要争论谁比谁更好一些。选择一个喜欢的,深入研究下去,总会有所成就。Just do it!作为.NET

2007-07-23 10:41:00 905 1

angularjs,ionic,cordova 简单示例应用——CFTC持仓数据

CFTC持仓(欧元,英镑,澳元,黄金,白银,标普500等)

2015-08-20

Functional Programming in Swift (2014-10-01)

Functional Programming in Swift (2014-10-01)

2015-05-21

WIN7 财经日历Gadget

WIN7 财经日历 Gadget

2013-05-13

Pattern-Oriented Software Architecture(全5卷 英文)

经典之作,不用多说。 经典之作,不用多说。 经典之作,不用多说。

2010-05-21

浅析javascript原型继承机制

浅析javascript原型继承机制,浅析javascript原型继承机制

2009-07-26

js的中国农历,不错

js的中国农历,js的中国农历,js的中国农历

2009-05-05

IronPython2.0最新版本以及IDE等源码

IronPython2.0最新版本以及IDE等源码

2009-03-01

Windows.Vista.Security.Guide.2008

Windows.Vista.Security.Guide.2008

2009-02-28

Web Application Design Patterns

Web Application Design Patterns

2009-02-28

The.Creation.and.Science.of.Web.Design.Jan.2009

The.Creation.and.Science.of.Web.Design.Jan.2009

2009-02-28

Team Foundation Server 2008 in Action

Team Foundation Server 2008 in Action

2009-02-28

Struts 2 Design and Programming A Tutorial

Struts 2 Design and Programming A Tutorial

2009-02-28

Silverlight 2 in Action

Silverlight 2 in Action

2009-02-28

Programming Microsoft Dynamics CRM 4.0

Programming Microsoft Dynamics CRM 4.0

2009-02-28

Packt.Publishing.Learning.Website.Development.with.Django.Mar.2008

Packt.Publishing.Learning.Website.Development.with.Django.Mar.2008

2009-02-28

MS - Microsoft SQL Server 2008 T-SQL Fundamentals (2008.10).

MS - Microsoft SQL Server 2008 T-SQL Fundamentals (2008.10).

2009-02-28

Microsoft Visual Studio Tips

Microsoft Visual Studio Tips

2009-02-28

Microsoft Press - Microsoft Visual C# 2008 Express Edition Build a Program Now!.

Microsoft Press - Microsoft Visual C# 2008 Express Edition Build a Program Now!.

2009-02-28

Microsoft .NET Architecting Applications for the Enterprise

Microsoft .NET Architecting Applications for the Enterprise

2009-02-28

Manning.Hibernate.Search.In.Action.Dec.2008

Manning.Hibernate.Search.In.Action.Dec.2008

2009-02-28

Manning - Flex 3 In Action (2009.02).

Manning - Flex 3 In Action (2009.02).

2009-02-28

Foundation XML and E4X for Flash and Flex

Foundation XML and E4X for Flash and Flex

2009-02-28

GoF Design Patterns with examples using Java and UML2

GoF Design Patterns with examples using Java and UML2

2009-02-28

Exploring C++ The Programmer’s Introduction to C++.

Exploring C++ The Programmer’s Introduction to C++.

2009-02-28

Developing Service-Oriented AJAX Applications on the Microsoft Platform

Developing Service-Oriented AJAX Applications on the Microsoft Platform

2009-02-28

Building the Agile Enterprise With SOA, BPM and MBM

Building the Agile Enterprise With SOA, BPM and MBM

2009-02-28

Apress.Pro.Web 2.0.Mashups.2008

Apress.Pro.Web 2.0.Mashups.2008

2009-02-28

Apress.Pro.Oracle.Application.Express.Sep.2008.eBook-DDU

Apress.Pro.Oracle.Application.Express.Sep.2008.eBook-DDU

2009-02-28

Advanced Software Testing - Vol. 2

Advanced Software Testing - Vol. 2

2009-02-28

Linux&UnixShell

Linux&UnixShell,Linux&UnixShell

2009-02-23

Linux-101-Hacks

Linux-101-Hacks,Linux-101-Hacks

2009-02-23

jquery+prototype+插件+源码+资料

jquery+prototype+插件+源码+资料

2009-02-23

jQuery UI 1.6 - The User Interface Library for jQuery (Feb 2009)

jQuery UI 1.6 - The User Interface Library for jQuery (Feb 2009)

2009-02-23

iPhone Open Application Development Second Edition

iPhone Open Application Development Second Edition

2009-02-23

I.O.U.S.A. One Nation. Under Stress. In Debt

I.O.U.S.A. One Nation. Under Stress. In Debt

2009-02-23

HIGHTECH_MISERY_CHINA_WEB

HIGHTECH_MISERY_CHINA_WEB

2009-02-23

Delivering Business Intelligence with Microsoft SQL Server(TM) 2E 2008

Delivering Business Intelligence with Microsoft SQL Server(TM) 2E 2008

2009-02-23

Basics.Of.Compile.Design

Basics.Of.Compile.Design

2009-02-23

Apress[1].Pro.JavaScript.Design.Patterns.Dec.2007

Apress[1].Pro.JavaScript.Design.Patterns.Dec.2007

2009-02-23

多线程+Ajax技术 实现Web站点生成静态html页面

多线程+Ajax技术 实现Web站点生成静态html页面 解压密码为:17fx.net

2009-02-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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