【C# 相关】

Microsoft C# Windows 程序设计 上、下册 (Charles Petzold)

Chapter 01 控制台本身

Chapter 02 欢迎使用Windows Forms

Chapter 03 基本结构

Chapter 04 文本输出中的练习

Chapter 05 直线、曲线和区域填充

Chapter 06 接近键盘

Chapter 07 页面和变换

Chapter 08 鼠标的历史

Chapter 09 文本和字体

Chapter 10 定时器和时间

Chapter 11 图像和位图

Chapter 12 按钮、标签和滚动条

Chapter 13 贝塞尔曲线和其他样条曲线

Chapter 14 菜单

Chapter 15 路劲、区域和裁剪

Chapter 16 对话框

Chapter 17 画刷和画笔

Chapter 18 文本框、列表框和旋转框

Chapter 19 字体

Chapter 20 工具栏和状态栏

Chapter 21 打印

Chapter 22 树形视图和列表视图

Chapter 23 元文件

Chapter 24 剪切、拖动和放置

附录A  文件和流

附录B 数学类

附录C 字符串理论

 

 

第一章:控制台本身

1.1 C# 版本

       C# 读 C-sharp。 C# 由Microsoft 的Anders Hejisberg设计,它是一种现代的面向对象程序设计语言,融合了C、C++、Java、Pascal,甚至Basic中的元素。文件扩展名.cs 。

       Microsoft 中间语言,Microsoft Intermediate Language,MSIL。微软把MSIL提交给欧洲计算机制造商协会European Computer Manufacturer's Association,ECMA,在那里,它被称为公共中间语言Common Intermediate Language,CIL。

      因为以C#编写的程序被编译为一种中间语言而不是直接被编译为机器代码,所以执行与平台无关。

1.2 程序分析

      C# 的一个有趣特性是注释可以包含XML(Extensible Markup Language,扩展标记语言)中的语句。C#区分大小写的。入口点是首字母大写的Main而不是小写字母main。

1.3 C#名称空间

       名称空间有助于确保在一个特定程序或项目中使用的所有名称是唯一的。

        using关键字指定一个名称空间,就可以避免通过那个名称空间来引用其中的类。.NET Framework定义了90多个以单词System开始的名称空间和5个以单词Microsoft开始的名称空间。如:System.Drawing和System.Windows.Forms。

        对于没有使用名称空间定义的类,将出现什么情况呢?那些类名将进入一个“全局名称空间”。

1.4 控制台I/O

        名称空间在.NET Framework文档的结构中也扮演一个重要角色。如找Console类的文档,请查阅System名称空间。您将看到,WriteLine并不是Console类中的唯一输出方法。Write方法与它向控制台显示输出的方式非常相似。Write方法有18个不同的定义,WriteLine方法有19个不同的定义,每一个定义都带有不同的参数。同一方法的多个版本被称为"重载"。

1.5 C#数据类型

C# 整型数据类型位数有符号无符号8sbytebyte16shortushort32intuint64longulong

C#支持float和double,它们实现了ANSI/IEEE Std754-1985标准(二进制浮点运算的IEEE标准)

C# 中浮点数据类型的位数C# 类型指数尾数总位数float82432double115364

      C#支持一种使用128位存储的decimal数据类型,它被分解为一个96位的尾数和一个0~28之间的十进制比例因子。该类型大概提供28位十进制精度。

       C# 支持bool 数据类型,它采用两个值:true 和 false.

       C#是用Unicode而不是用ASCII对字符编码的。Unicode是一个ASCII 字符编码的扩展,在其中定义了ASCII中的前128个字符。

       定义一个数组变量,在数据类型后面使用空白的方括号。如:float [] arr; arr变量的数据类型是一个浮点型数组,实际上是一个指针。数组是一种"引用类型"。在最初定义arr时,它的值为null。要为这个数组分配内存,需使用new操作符并制定该数组包括的元素数量:arr = new float [3]; 常见的是将下面两个语句合并在一起: float [] arr=new float [3];

       C#中没有delete 操作符。因为最初内存块不再被程序中的任何东西引用,所以它适合入选"垃圾集合"。在某些时候,公共语言运行时将释放最初为数组分配的内存。

       在默认情况下,方法的参数总是通过值来传递的,可以修改任何参数,而在调用方法中,它不会被改变。要想改变这种行为,可以使用ref 或 out 关键字。

修改一个作为参数的传递的变量:

void AddFive(ref int i)

{ i+5; }

设置一个参数变量:

void SetToFive(out int i)

{i=5;}

       枚举在C#和.NET Framework中扮演了重要角色。下面是一个来自System.IO名称空间的例子:

public enum FileAccess

{ Read=1,

Write,

ReadWrite

}

        枚举通常是整数数据类型。如没有指定一个明确的值,那么第一个成员将被设置为0。随后的成员将被设置为连续的数值。

1.6 表达式和操作符

C# 中的运算顺序操作符类型操作符组合规则基本()[]f() X++ Y++ new typeof sizeof checked unchecked从左到右一元+ - ! ~ ++X --X(type)从左到右乘法* / %从左到右加法+ -从左到右移位<< >>从左到右关系< > <= >= is as从左到右相等== !=从左到右逻辑AND&从左到右逻辑XOR^从左到右逻辑OR|从左到右条件AND&&从左到右条件OR||从左到右条件?:从右到左赋值= += -= *= /= %= <<= >>= |= &= ^=从右到左

 

====================================================================

Chapter 2 C# 语言基础

2.1 概述

C# 源文件都以Unicode的形式保存。标识符一般以字母或下划线开头并由字母或数字组成。也可以@开头。

2.2 C# 语言的操作符

算术操作符:加+  、减-   、乘* 、除/ 、模或求余%

逻辑操作符(逻辑操作或位操作 ):与& 、 或 |  、异或 ^  、非 ! 、 求反 ~ 、  逻辑与 &&、 逻辑或 || 、  true  和  false。前5个也可以用于位操作。

递增、增减操作符:++  、  - -

移位操作符:>>  、 <<

关系操作符:==、!=、>、<、>=、<=

赋值操作符:=、+=、-=、*=、/=、%=、&=、|=、^=、>>=、<<+

成员访问操作符:. 点操作符

索引操作符:[ ]

类型转换操作符:( )

条件操作符:? :

对象创建操作符:new

类型信息操作符:is \  sizeof \  typeof

2.3 C# 语言的常用语句

语句块:

空语句:

表达式语句:

条件选择语句:

循环迭代语句:

跳转语句:break\continue\goto\return\throw

异常处理语句:

checked\unchecked语句:

lock语句:

using语句:该语句用于获取一个或多个资源,然后在该资源上执行一定的操作,最后释放该资源。

2.3.1 变量声明语句

2.3.2 条件选择语句

1. if - else 

2. switch -case

2.3.3 循环迭代语句

1. for 语句

2. foreach 语句

3. while 语句

4. do 语句

2.3.4 方法调用语句

调用方法时最关键的就是参数的使用。在C# 中,方法只能返回一个值,要从方法中获取多个输出值,则只能通过参数来进行。但在参数传递中,只有引用类型的参数才能实现这种功能。

ref \out \params 参数。

1.ref 参数声明方式

2.out 参数声明方式

3.params 参数声明方式

2.3.5 非安全语句

?默认情况下,C# 是在一种安全的上下文中执行时不能使用指针。但在非安全的上下文中执行,这时就要用到指针。

1.unsafe 关键字  用于指定一个非安全上下文。

2.fixed 关键字 用来防止变量在内存位置被移动。

2.4 预处理器指令

1. # define 指令

2. # undef 指令

3. #if  、#else、#elif 和# endif 指令

4. # warning 指令

5.# error 指令

6.# line 指令

7.# region 和 #endregion 指令

2.5 C# 语言的类型系统

C# 中的类型可分为两类:值类型和引用类型。值类型在栈中保存它们的值。而引用类型的变量位于栈中,保存于堆中的对象的地址。

变量类型值包括:类、接口、代理、object 和 string。

值类型包括结构类型:int \ long\double等和枚举类型。

进行赋值操作时,值类型通过复制值来进行,而引用类型仅仅复制引用(对象的地址),不是所引用的对象本身。所以的值类型都隐含地派生于.Net 框架类库中的System Object 类,并不能派生新的值类型。同时所有的值类型都具有一个隐身的构造函数用于初始化。

2.5.1 命名空间 namespace 

C# 中的类型通过命名空间( namespace ) 来进行组织。

类型修饰符

public:类型或类型成员的访问不受限制。

private:只有该类型或成员的包含类或派生类才能访问它。

internal:只有当前项目才能访问该类型或成员。

protected:

abstract

const

event

extern

override:为基类的虚拟方法提供一个新的实现。

readonly:声明一个只读字段。该字段只能在声明的时候或在构造函数中进行赋值。

sealed:该类不能被继承,即不能作为基类使用。

static

virtual

2.5.2 结构类型

bool

byte

sbyte

char

decimal

double

float

int 

uint

long

ulong

short

ushort

2.5.3 枚举类型

从System.Enum类派生。每一个枚举类型都具有一个底层基本类型。底层基本类型必须是内建的有符号或无符号整数(如Int16、Int32 或Int64)。默认情况第一个元素的值为0,后续的元素依次递增1。

2.5.4 包装或拆包

每个值类型都有一个与之相对应的引用类型,称为包装(boxing)类型,但是反之却不成立。包装用来把值类型转换成object 类型(引用类型);而拆包(unboxing) 则用来把object 类型转换成值类型。

2.5.5 类

类是一种引用类型,可以包含数据成员(常数、字段和事件)和函数成员(方法、属性、索引、操作符、构造函数和析构函数)。还可以包含嵌入类型。

在C# 中,只支持单重继承,即类只能从一个基类派生,但是可以实现多个接口。

 1.类的定义

[属性] [修饰符] class 类名 [:基类列表]{...};

修饰符可以是:new \ abstract \ sealed \public \ protected \ internal \private 之一。

2.构造函数和析构函数

构造函数主要用来初始化类的实例。构造函数的名字与类的名字相同,可以具有0个或多个参数并且没有返回值。

3.字段 field

字段表示与对象或类相关联的变量。它等同于C++语言中的成员变量。

4.方法 method

5.属性 property

属性实质上就是成员方法,但是用户可以像访问变量一样访问它。

6.事件 event

7.索引器 indexer

2.5.6 代理

2.5.7 接口

2.5.8 object 和string 类型

2.5.9 数组

2.6 属性 Attribute 

属性可以用于在代码中添加额外的声明性信息,用户可以在运行时通过CLR映射(reflection) 服务获取属性所包含的信息。

 

 

====================================================================================

http://msdn.microsoft.com/zh-cn/library/a72418yk(v=VS.80).aspx

C# 相关资料

http://xidong.net/List000/Catalog_217_T1.html

C# 源代码

http://www.codefans.net/sort/list_13_1.shtml

名称:快速入门
地址:http://chs.gotdotnet.com/quickstart/
描述:本站点是微软.NET技术的快速入门网站,我们不必再安装.NET Framework中的快速入门示例程序,直接在网上查看此示例即看。

名称:微软官方.NET指导站点
地址:http://www.gotdotnet.com/
描述:上面的站点是本站的一个子站点,本站点提供微软.NET官方信息,并且有大量的用户源代码、控件下载,微软.NET开发组的人员
      也经常在此站点发表一些指导性文章。

名称:SourceForge
地址:http://www.sourceforge.net
描述:世界上最大的Open Source项目在线网站,上面已经有.NET的各种大型Open Source项目上千件,包括SharpDevelop、NDoc、Mono
      等都是在此站点发布最新源代码信息。

名称:CodeProject
地址:http://www.codeproject.com
描述:很多非官方的中小型示例源代及文章,相当全面,基本上我们想要的各种方面的资料都可以在此处查找。

名称:Fabrice's weblog
地址:http://dotnetweblogs.com/FMARGUERIE/Story/4139.aspx
描述:这是一个WebLog形式的在线日志网站,定期更新,包括.NET相关的工具、混淆器、反编译器等各种信息,十分值得收藏。


名称:CSharpHelp
地址:http://www.csharphelp.com
描述: 专业的C#语言在线帮助网站,主要提供C#语言方面的技术文章。专业性很强。

名称:DotNet247
地址:http://www.dotnet247.com
描述:最好的索引网站,分别按照门类及命名空间的索引,也提供了Microsoft KB知识库。

名称:ASP.NET
地址:http://www.asp.net
描述:微软.NET webform的老巢,资料和实例代码都非常难得。

名称:微软.NET Winform
地址:http://www.windowsforms.net/
描述:微软.NET Winform的老巢。

名称:微软 KnowledgeBase
地址:http://support.microsoft.com/
描述:微软知识库,开发的时候遇到的怪问题,可能会在这里找到答案。

名称:MSDN
地址:http://msdn.microsoft.com/
描述:这个就不用多说了吧,虽然出了中文MSDN,但是资料还是不够全,英文的就什么都有了。

名称:HotScripts
地址:http://www.hotscripts.com/
描述:Welcome to HotScripts.com, the net’s largest PHP, CGI, Perl, javascript and ASP script collection and resource
     web portal. We currently have 24,004 scripts across 11 different programming languages and 1,240 categories, as well as
     links to books, articles, as well as programming tips and tutorials.

名称:ASPAlliance
地址:http://www.aspalliance.com/
描述:提供相当丰富的文章和示例代码,思路匮乏的时候可以找找思路

名称:CSDN文档中心
地址:http://dev.csdn.net/
描述:中文的,资料还算丰富,可以作为国内首选。

名称:中国DotNet俱乐部
地址:http://www.chinaspx.com/
描述:有点公司背景的网站,很健壮,资料更新及时,比较丰富。论坛解答也不错。

名称:【孟宪会之精彩世界】
地址:http://dotnet.aspx.cc/
描述:MS-MVP的个人站点,包括了他所有的经验文章,还是很值得一看的。

名称:dotNET Tools.org
地址:http://www.dotnettools.org
描述:ccboy,也就是CSDN的小气的神的站点,里面有很多关于.NET等的好东东。

名称:博客堂
地址:http://blog.joycode.com/
描述:半官方性质的MS-MVP汇集blog,大家可以在这里接触到最新的技术,了解发展趋势,对技术的探索等等,优秀的文章。

名称:DotNetBips.com - Applying .NET
地址:http://www.dotnetbips.com/
描述:该站点的文章,涉及到了整个.NET,从底层的IL到语言到架构,文章很多,质量还不错。

名称:C# Frequently Asked Questions
地址:http://blogs.msdn.com/csharpfaq/
描述:The C# team posts answers to common questions

名称:正则表达式
地址:http://www.regexplib.com/
描述: 正则表达式学习站点

名称:WINDOW formS FAQ
地址:http://www.syncfusion.com/FAQ/Winforms/
描述:常见的forms faq问题,很多问题都可以在这里找到答案。

名称:索克论坛
地址:http://www.sorke.com/bbs/Boards.asp
---------------------------------------------------------------------------------------------------------
http://blog.csdn.net/jingang123gz
http://hi.baidu.com/jingang520644
http://www.cnblogs.com/jingang1123gz
http://hi.csdn.net/anguanyu

华普软件
http://www.cnpopsoft.com/default.asp?cateID=17

阿良.NET 主页
http://www.chenjiliang.com/
http://www.msproject.cn/article/Address_Book.aspx

C#进行时
http://shiweifu.cnblogs.com/

【VS盒子】 - C#源码下载专业站
http://vsbox.cn/

郭磊的专栏
http://blog.csdn.net/guolei0451

Johnny的专栏
http://blog.csdn.net/gztoby/category/33669.aspx

C#专题站点--大量的C#开发编程技巧与实例
http://www.livebird.cn/default.aspx


C# 51CTO.COM_领先的中文IT技术网站
http://www.51cto.com/col/643/newtop.htm

DotNet笔记 - 博客园
http://www.cnblogs.com/tuyile006/

keith的天空
http://www.cnblogs.com/KeithDan/

cocosoft随记
http://blog.csdn.net/cocosoft/

流金的碎月 - 博客园 有软件皮肤
http://www.cnblogs.com/liuxzh1026/

Net下WinForm换肤控件整理
http://blog.csdn.net/hs123

立民讲堂
http://www.cnblogs.com/liminzhang/

丰志强的专栏
http://blog.csdn.net/MichaelFeng

http://download.csdn.net/user/anguanyu/All/9

开往春天的地铁
http://www.cnblogs.com/overred/

南京袁永福的技术博客
http://www.xdesigner.cn/

YTFUNLOVE的BLOG
http://blog.csdn.net/ytbada

正在研究WPF
http://www.cnblogs.com/dougua/

莫相会
http://www.cnblogs.com/maxianghui/

C#程序设计精品课程
http://www.czie.net/csharp/

垃圾猪的垃圾窝
http://www.cnblogs.com/ewebapp/category/35087.html

First we try, then we trust
http://www.cnblogs.com/zhenyulu/

凡人·凡心_博客
http://hi.baidu.com/hgluo/blog


白话Programming
http://www.cnblogs.com/guanjinke

http://www.codesoso.com/

http://hi.baidu.com/ruguoaiyezi/blog/item/ef4a6edabcc70cddb6fd48c4.html#8192b801ebede4d1277fb598

林龙勇 - 无聊的神
http://blog.csdn.net/llyzcy

下载
http://download.csdn.net/messageto

Like To StudyC# @ ASP.NET @ Web
http://hi.baidu.com/yman88

dotnot文档
http://ndoc.cn/

http://www.google.com/codesearch

http://www.dotnetnuke.com

http://sourceforge.net/

Mr. King 的blog

http://www.cnblogs.com/crhacker/category/23211.html

Microsoft .NET 主页位于http://www.microsoft.com/net/。Microsoft 同时将它发布在 GOTDOTNET。

Microsoft 还发布了 .NET Framework FAQ,和本文很相似。可以在那里找到这里许多问题更“权威”的解答。

Robert Scoble 编辑了一个很容易理解的在线列表http://www.devx.com/dotnet/resources/,这里还有一个http://www.singularidad.com.ar/dotnet.asp

http://www.devx.com/free/press/2000/vs-qalist.aspRobert 还有一个 .NET“著名问题与解答”主页。

Richard Grimes 和 Richard Anderson 有一个叫作 Managed World.COM.的站点。

http://www.ibuyspy.com/是一个以展示 .NET 平台为目的创建的示例站点。

还有我的 C# FAQ for C++ Programmers。

示例代码和实用程序

Peter Drayton 的 .NET Goodies 主页位于http://www.razorsoft.net/
Don Box 的 CallThreshold 示例位于http://www.develop.com/dbox/dotnet/threshold
Don 的 UnwindScope Service 位于http://www.develop.com/dbox/dotnet/unwind
Don 的 CLR scripting host 位于http://www.develop.com/dbox/dotnet/clrscript
Don 和 Jason 的 dm.net COM moniker 位于http://staff.develop.com/jasonw/clr/readme.htmhttp://www.bearcanyon.com/dotnet/有 Mike Woodring 的一些 .NET 例子。
http://www.cookcomputing.com/xmlrpc/xmlrpc.shtml可以找到 Charles Cook 的 XML-RPC.Net library。

1. 大名鼎鼎的CodeGuru 号称代码领头羊
非常著名的关于程序开发的网站,大量的资料.强烈推荐
http://www.codeguru.com/- 外文

2. Developer.com: An EarthWeb site
http://www.developer.com/- 外文

3. programming resources in various categories
http://www.programmingsite.co.uk/- 外文

4. C# Corner
C-Sharp C#.NET CSharp VB.NET ASP.NET Visual Studio .NET Jobs Consulting.非常专业的C#编程网站,强烈推荐
http://c-sharpcorner.com/- 外文

5. The Code Project - Free Source Code and Tutorials
这个站点也许是开发者常提在嘴边的网站,它提供大量的原传文章,提供大量代码,并且网站涉及一切关于microsoft相关开发,强烈推荐
http://www.codeproject.com/- 外文

6. 计算机开发文档英雄贴
大量的编程开发 文档.
http://www.chinadir.net/- 中文

7. DevCentral
Check out the best 100% free tutorials and articles on the web for the software development community. It doesn‘t matter if you are a student or a professional software engineer, DevCentral has content to match everything from learning C to Java Class Loaders. DevCentral provides all these self paced tutorials, technology articles, and downloads for everyone to enjoy for free.
http://devcentral.iticentral.com/default.php- 外文

8. 中文c#技术站
http://www.chinacs.net/- 中文

9. C# C Sharp and Tutorials on C# Friends.com
http://www.csharpfriends.com/- 外文

10. RFC-Editor Webpage
进行网络开发的必备资料.
http://www.rfc-editor.org/- 外文

11. Developer Fusion
We‘ve got hundreds of pages of VB, ASP, .NET and C++ tutorials and source code. We hope you enjoy your visit!
http://www.developerfusion.co.uk/- 外文

12. Visual Basic and C# Users Web Site
http://www.vbusers.com/home.asp- 外文

13. C# C Sharp Help : For C# Developers
有名的关于C#网站,大量的文章与代码下载。
http://www.csharphelp.com/- 外文

14. C# Corner: C-Sharp C#.NET CSharp VB.NET ASP.NET Visual Studio .NET Jobs Consulting
Very nice resource site for C# and .NET developers. Prenty of source code samples, tutorials, articles, news, and downloads.
http://www.c-sharpcorner.com/- 外文

15. DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers
http://www.devasp.net/- 外文

16. 中国DotNet俱乐部
.Net社区—包括 C#,VB,ASP,Delphi,VC,MS SQL Server,C++,JAVA,JSP
http://www.chinaaspx.com/- 中文

17. 小雨第二课堂:C# ASP.NET学习网站
http://www.xyhhxx.com/- 中文

18. the one stop programmers resource
Welcome to programmershelp, on this site you will find various resources for programming languages such as c, c++, visual basic, java, php, perl, asp and javascript to name but a few. Source code, forums, tutorials, scripts articles, downloads, book links we have it.
http://www.programmershelp.co.uk/- 外文

19. 【孟子E章】之.NET开发者园地
http://dotnet.aspx.cc/- 中文

20. C#学习站 Lzhm.net
http://www.lzhm.net/- 中文

21. Visual Basic and C# Users Web Site
http://www.vbusers.com/- 外文

22. C# / C Sharp examples (example source code) Orgainzed in Topic into Categories
http://www.java2s.com/Code/CSharp/CatalogCSharp.htm- 外文


C# 其他书籍

1:Tom Archer 《Inside C# 》 (Microsoft Press, 2001)

2:John Sharp & Jon Jagger 《Microsoft Visual C# Step by Step 》 (Microsoft Press ,2001)

-----------------------------------------------------------------------

Windows API

1:Charles Petzold 《Programming Windows》(5th,Microsoft Press ,1998)

    中文版《Windows 程序设计》 北京大学出版社 1999出版,2002.9 第5次印刷

MFC

1: Jeff Prosise 《Programming ,Windows with MFC》(2nd,Microsoft ,1999)

    Jeffrey Richter 《Programming Application for Micorsoft Windows》 (Microsoft ,1999)

-------------------------------------------------------------------------------------------

如果是Web程序的话
最好的方法是在网上找个留言簿之类的程序
照着写一次,理解上面的思路,遇上不懂的就GOOGLE,百度
这样基本上写完一个程序就能了解大概的思路了
然后再研究下petshop,微软的,N层架构,缓存,连接池等,等研究透了你基本上能应付一般的工作了
winform的话难说一点,要看你往那方面发展

===============================================================================

C# 高级编程 4th   P1220   Christian Nagel  /  Bill Evjen / Jay Glynn 

第一部分:C# 语言

Chapter 01  .Net 体系结构

Chapter 02 C# 基础

Chapter 03 对象和类型

Chapter 04 继承

Chapter 05 运算符和类型强制转换

Chapter 06 委托和事件

Chapter 07 内存管理和指针

Chapter 08 字符串和正则表达式

Chapter 09 集合

Chapter 10 泛型

Chapter 11 反射

Chapter 12 错误和异常

Chapter 13 线程

第二部分:.NET 环境

Chapter 14 Visual Studio 2005

Chapter 15 程序集

Chapter 16 .Net 的安全性

Chapter 17 本地化

Chapter 18 部署

第三部分:数据

Chapter 19 .Net 数据访问

Chapter 20 .Net 编程和SQL Server 2005

Chapter 21 处理XML

Chapter 22 使用Active Directory 

第四部分:Windows 应用程序

Chapter 23 Windows 窗体

Chapter 24 查看.Net数据

Chapter 25 使用GDI+ 绘图

第五部分:Web 应用程序

Chapter 26  ASP.NET 页面

Chapter 27 ASP.NET 开发

第六部分:通信

Chapter 28 Web 服务

Chapter 29 .Net Remoting

Chapter 30 Enterprise Service 

Chapter 31  消息队列 

Chapter 32 分布式编程的未来产品

第七部分:互操作性

Chapter 33 COM 的互操作性

第八部分:Windows 基本服务

Chapter 34  文件和注册表操作

Chapter 35 访问Internet 

Chapter 36 Windows 服务

 

==========================================================================================

Pro C# 2008 and the .Net 3.5 PlatForm 4th| Pro C# 2010 and the .Net 4.0 PlatForm 5th

Product Description
The first edition of this book was released at the 2001 Tech Ed conference in Atlanta, Georgia. Since that time, this text has been revised, tweaked, and enhanced to account for the changes found within each release of the .NET platform (1.1, 2.0, 3.0 and now 3.5).
The last version, .NET 3.0, was more of an augmentative release, essentially providing three new APIs: Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF). As you would expect, coverage of the "W's" has been expanded a great deal in this version of the book from the previous Special Edition text.

Unlike .NET 3.0, .NET 3.5 provides dozens of new C# language features and .NET APIs. This edition of the book will walk you through all of this new material using the same readable approach as was found in previous editions. Rest assured, you'll find detailed coverage of Language Integrated Query (LINQ), the C# 2008 language changes (automatic properties, extension methods, anonymous types, etc.) and the numerous bells and whistles of Visual Studio 2008. What you will learn

Everything you need to know - get up to speed with C# 2008 quickly and efficiently.
Discover all the new .NET 3.5 features -- Language Integrated Query, anonymous types, extension methods, automatic properties, and more.
Get a professional foothold -- targeted to appeal to experienced software professionals, this book gives you the facts you need the way you need to see them.
A rock-solid foundation - focuses on everything you need to be a successful .NET 3.5 programmer, not just the new features. Get comfortable with all the core aspects of the platform -- including assemblies, remoting, Windows Forms, Web Forms, ADO.NET, XML web services, and much more.
Who is this book for?
If you're checking out this book for the first time, understand that it targets experienced software professionals and/or students of computer science (so please don't expect three chapters devoted to "for" loops). The mission of this text is to provide you with a rock-solid foundation to the C# 2008 programming language and the core aspects of the .NET platform (OOP, assemblies, file IO, Windows Forms/WPF, ASP.NET, ADO.NET, WCF,WF, etc.). Once you digest the information presented in these 33 chapters, you'll be in a perfect position to apply this knowledge to your specific programming assignments, and you'll be well equipped to explore the .NET universe on your own terms. About the Apress Pro series

You have gotten the job; now you need to go hone your skills in these tough competitive times. Apress Pro Series books expand your skills and expertise in exactly the areas you need. Master the content of a Pro book and you will always be able to get the job done in a professional manner. Written by experts in their field, Pro Series books give you the hard-won solutions to problems you will face in your professional programming career.

 

Part 1 Introducing C# and the .Net Platform
Chapter 01:The Philosophy of .NET
Chapter 02:Building C# Applications

Part 2 Core C# Programming Constructs
Chapter 03:Core C# Programming Constructs, Part I
Chapter 04:Core C# Programming Constructs, Part II
Chapter 05:Defining Encapsulated Class Types
Chapter 06:Understanding Inheritance and Polymorphism
Chapter 07:Understanding Structured Exception Handling
Chapter 08:Understanding Object Lifetime

Part 3 Advanced C# Programming Constructs
Chapter 09:Working with Interfaces
Chapter 10:Collection and Generics
Chapter 11:Delegates, Events, and Lambdas
Chapter 12:Indexers,Operators,and Pointers
Chapter 13:C# 2008 Language Features
Chapter 14:An Introduction to LINQ

Part 4 Programming with .Net Assembilies
Chapter 15:Introducing .Net Assembilies
Chapter 16:Type Reflection,Late Binding,and Attribute-Based Programming
Chapter 17:Processes,AppDomains,and Object Contexts
Chapter 18:Building Multithreaded Applications
Chapter 19:Understanding CIL and the Role of Dynamic Assemblies

Part 5 Introducing the .Net Base Class Libraries
Chapter 20:File I/O and Isolated Storage
Chapter 21:Introducing Object Serialization
Chapter 22:ADO.NET Part 1:The Connected Layer
Chapter 23:ADO.NET Part 2:The Disconnected Layer
Chapter 24:Programming with the LINQ APIs
Chapter 25:Introducing Windows Communication Foundation
Chapter 26:Introducing Windows Workflow Foundation

Part 6 Desktop User Interfaces
Chapter 27:Programming with Windows Forms
Chapter 28:Introducing Windows Presentation Foundation and XAML
Chapter 29:Programming with WPF Controls
Chapter 30:WPF 2D Graphics Rendering,Resources,and Themes

Part 7 Building Web Applications with ASP.Net
Chapter 31:Building ASP.Net Web Pages
Chapter 32:ASP.Net Web Controls,Themes,and Master Pages
Chapter 33:ASPNET State Management Techniques

Part 8 Appendixes
Appendix A COM and .Net Interoperability
Appendix B Platform-Independent.Net Development with Mono


About the Author
Andrew Troelsen is a partner, trainer, and consultant at Intertech-Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is now in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis, Minnesota, with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog here: Troelsen's Tutorials

--------------------------------------------------------------------------------
Product Details
Hardcover:1370pages
Publisher: Apress; 4 edition (November 15, 2007)
Language:English
ISBN-10: 1590598849
ISBN-13: 978-1590598849
Product Dimensions: 9.5 x 7.3 x 2.5 inches
Shipping Weight: 4.2 pounds

=================================================================================================

Product Description
The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. At that time, the .NET platform was still a beta product, and in many ways, so was this book. This is not to say that the early editions of this text did not have merit—after all, the book was a 2002 Jolt Award finalist and it won the 2003 Referenceware Excellence Award. However, over the years that author Andrew Troelsen spent working with the common language runtime (CLR), he gained a much deeper understanding of the .NET platform and the subtleties of the C# programming language, and he feels that this fifth edition of the book is as close to a “final release” as he’s come yet.

This new edition has been comprehensively revised and rewritten to make it accurately reflect the C# 4 language specification for the .NET 4 platform. You’ll find new chapters covering the important concepts of dynamic lookups, named and optional arguments, Parallel LINQ (PLINQ), improved COM interop, and variance for generics.

If you’re checking out this book for the first time, do understand that it's targeted at experienced software professionals and/or graduate students of computer science (so don't expect three chapters on iteration or decision constructs!). The mission of this text is to provide you with a rock-solid foundation in the C# programming language and the core aspects of the .NET platform (assemblies, remoting, Windows Forms, Web Forms, ADO.NET, XML web services, etc.). Once you digest the information presented in these 25 chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore the .NET universe on your own terms.

What you’ll learn
Be the first to understand the .NET 4 platform and Visual C# 2010.
Discover the ins and outs of the leading .NET technology.
Learn from an award-winning author who has been teaching the .NET world since version 1.0.
Find complete coverage of the WPF, WCF, and WF foundations that support the core .NET platform.
Who this book is for
This book is for anyone with some software development experience who is interested in the new .NET Framework 4 and the C# language. Whether you are moving to .NET for the first time or are already writing applications on .NET 2.0 or .NET 3.5, this book will provide you with a comprehensive grounding in the new technology and serve as a complete reference throughout your coding career.

Table of Contents
Chapter 01: The Philosophy of NET
Chapter 02:Building C# Applications
Chapter 03:Core C# Programming Constructs, Part I
Chapter 04:Core C# Programming Constructs, Part II
Chapter 05:Defining Encapsulated Class Types
Chapter 06:Understanding Inheritance and Polymorphism
Chapter 07:Understanding Structured Exception Handling
Chapter 08:Understanding Object Lifetime
Chapter 09:Working with Interfaces
Chapter 10:Understanding Generics
Chapter 11:Delegates, Events, and Lambdas
Chapter 12:Advanced C# Language Features
Chapter 13:LINQ to Objects
Chapter 14:Configuring NET Assemblies
Chapter 15:Type Reflection, Late Binding, and Attribute-Based Prog
Chapter 16:Processes, AppDomains, and Object Contexts
Chapter 17:Understanding CIL and the Role of Dynamic Assemblies
Chapter 18:Dynamic Types and the Dynamic Language Runtime
Chapter 19:Multithreaded and Parallel Programming
Chapter 20:File I/O and Object Serialization
Chapter 21:ADO.NET Part I: The Connected Layer
Chapter 22:ADO.NET Part II: The Disconnected Layer
Chapter 23:ADO.NET Part III: The Entity Framework
Chapter 24:Introducing LINQ to XML
Chapter 25:Introducing Windows Communication Foundation
Chapter 26:Introducing Windows Workflow Foundation 40
Chapter 27:Introducing Windows Presentation Foundation and XAML
Chapter 28:Programming with WPF Controls
Chapter 29:WPF Graphics Rendering Services
Chapter 30:WPF Resources, Animations, and Styles
Chapter 31:WPF Control Templates and UserControls
Chapter 32:  Building ASPNET Web Pages
Chapter 33:  ASP.NET Web Controls, Master Pages and Theme
Chapter 34:ASP.NET State Management Techniques

About the Author
Andrew Troelsen is a partner, trainer, and consultant at Intertech-Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is now in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis, Minnesota, with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog here: Troelsen's Tutorials

--------------------------------------------------------------------------------
Product Details
Paperback:1752 pages
Publisher: Apress; 5 edition (May 14, 2010)
Language:English
ISBN-10: 1430225491
ISBN-13: 978-1430225492
Product Dimensions: 9.2 x 7.6 x 2.5 inches
Shipping Weight: 5.8 pounds 

==============================================================================

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值