<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_大爱无疆_分类_3.C#</title><id>http://feed.cnblogs.com/blog/u/18778/category/184600/rss</id><updated>2012-05-28T12:31:40Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/category/184600.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/18778/category/184600/rss"/><entry><id>http://www.cnblogs.com/Roping/archive/2010/12/24/1915940.html</id><title type="text">C#的单例模式引起的自定义异常的捕获问题</title><summary type="text">案例代码对于单例模式，C#有个简洁的实现,采用静态的只读字段实现。但是如果在单例模式构造函数中,发生了异常自定义异常，在客户端能捕捉到吗？代码下载：ConfigException为我们定义异常类，TriggerException为异常触发类。先不要运行，猜下会捕捉到什么异常？现实事实上我们的自定义异常没有没Catch到，这是现象很隐蔽,主要是他不影响影响我们程序正常运行，只是我们费力定义的自定义异常都没有起到任何的作用。通常我们在单例模式的Portal工作，如果发生了异常，而如下日志记录的异常粒度对于运维一般参考价值不大 {"“ConsoleApplication4.Singleton”的类型</summary><published>2010-12-24T06:03:00Z</published><updated>2010-12-24T06:03:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2010/12/24/1915940.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2010/12/24/1915940.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/12/15/1625095.html</id><title type="text">从Gmail的一个瑕疵谈HTTPRequst</title><summary type="text">1.WEB访问到底怎么回事 通常我们开发的asp.net应用程序无非就是把我们CLient端的Data/Request通过Net，借助HTTP协议Post或者Get到Server端。然后CLient的借助Explorer展示Server回发的Response数据。这个我们通过ieHttpHeaders工具“窥豹”一番。以Gmail的登陆界面为例：注意ieHTTPHeader...</summary><published>2009-12-15T13:57:00Z</published><updated>2009-12-15T13:57:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/12/15/1625095.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/12/15/1625095.html"/><content type="text">1.WEB访问到底怎么回事 通常我们开发的asp.net应用程序无非就是把我们CLient端的Data/Request通过Net，借助HTTP协议Post或者Get到Server端。然后CLient的借助Explorer展示Server回发的Response数据。这个我们通过ieHttpHeaders工具“窥豹”一番。以Gmail的登陆界面为例：注意ieHTTPHeader...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/11/12/1601507.html</id><title type="text">for VS foreach</title><summary type="text">背景知识 for 循环重复执行一个语句或语句块，直到指定的表达式计算为 false 值。for 循环对于迭代数组和顺序处理非常方便。 foreach 语句为数组或对象集合中的每个元素重复一个嵌入语句组。foreach 语句用于循环访问集合以获取所需信息，但不应用于更改集合内容以避免产生不可预知的副作用； 迭代器是 C# 2.0 中的新功能。迭代器是方法、get 访问器或运算符，它使您能够在类或结构...</summary><published>2009-11-12T01:32:00Z</published><updated>2009-11-12T01:32:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/11/12/1601507.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/11/12/1601507.html"/><content type="text">背景知识 for 循环重复执行一个语句或语句块，直到指定的表达式计算为 false 值。for 循环对于迭代数组和顺序处理非常方便。 foreach 语句为数组或对象集合中的每个元素重复一个嵌入语句组。foreach 语句用于循环访问集合以获取所需信息，但不应用于更改集合内容以避免产生不可预知的副作用； 迭代器是 C# 2.0 中的新功能。迭代器是方法、get 访问器或运算符，它使您能够在类或结构...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/11/08/1598462.html</id><title type="text">隐式接口和显式接口</title><summary type="text">隐式接口和显式接口C#中对于接口的实现方式有隐式接口和显式接口两种，本文讨论了隐式接口和显式接口的一些区别，并延伸了语言设计层面背后的一些个人体会。隐式实现和显示实现的例子隐式地实现接口成员创建一个接口，Chinese，包含一个成员 Speak;我们创建一个类Speaker，实现接口Chinese[代码]这个就是隐式实现显式地实现接口成员 -- 创建一个仅通过该接口调用并且特定于该接口的类成员。这...</summary><published>2009-11-08T07:24:00Z</published><updated>2009-11-08T07:24:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/11/08/1598462.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/11/08/1598462.html"/><content type="text">隐式接口和显式接口C#中对于接口的实现方式有隐式接口和显式接口两种，本文讨论了隐式接口和显式接口的一些区别，并延伸了语言设计层面背后的一些个人体会。隐式实现和显示实现的例子隐式地实现接口成员创建一个接口，Chinese，包含一个成员 Speak;我们创建一个类Speaker，实现接口Chinese[代码]这个就是隐式实现显式地实现接口成员 -- 创建一个仅通过该接口调用并且特定于该接口的类成员。这...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/10/26/1590085.html</id><title type="text">设计模式基础:类及类关系的UML表示</title><summary type="text">UML中，类关系分为这几种，泛化（generalization）, 实现（realization）,依赖（Dependency）,关联（associate）,聚合（aggregation）,（composition）下面分别是UML实现及C#中的代码表现。 泛化（generalization） 泛化也称作特化（specialization），用来表示一个更一般和更特殊的分类器之间的关系，从面向对...</summary><published>2009-10-26T09:00:00Z</published><updated>2009-10-26T09:00:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/10/26/1590085.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/10/26/1590085.html"/><content type="text">UML中，类关系分为这几种，泛化（generalization）, 实现（realization）,依赖（Dependency）,关联（associate）,聚合（aggregation）,（composition）下面分别是UML实现及C#中的代码表现。 泛化（generalization） 泛化也称作特化（specialization），用来表示一个更一般和更特殊的分类器之间的关系，从面向对...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/05/15/1457706.html</id><title type="text">C#如何有效讲授学习</title><summary type="text">C#如何有效讲授学习译者注： 回顾C#发展的历史,回顾C#发展的历史,版本变换的之快对于正在/准备使用C#的开发者来说,目不暇接，无力应付。 当前版本还没有深入,新版本新特性有出来了。 图为译者加 如何进行有效的C#学习和讲授？也许Bill wagner的话对你有点启发。原博客《Explain from the Questioner’s perspective, not your o...</summary><published>2009-05-15T06:58:00Z</published><updated>2009-05-15T06:58:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/05/15/1457706.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/05/15/1457706.html"/><content type="text">C#如何有效讲授学习译者注： 回顾C#发展的历史,回顾C#发展的历史,版本变换的之快对于正在/准备使用C#的开发者来说,目不暇接，无力应付。 当前版本还没有深入,新版本新特性有出来了。 图为译者加 如何进行有效的C#学习和讲授？也许Bill wagner的话对你有点启发。原博客《Explain from the Questioner’s perspective, not your o...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/05/13/1456079.html</id><title type="text">转：翻译: 优秀的.NET开发人员应该知道些什么</title><summary type="text">写在前面的话 虽然一直知道有这篇文章，现在从事培训工作，虽然这篇文章2004年写的，但是觉得很有意义，收藏之。注：斯科特·汉塞尔曼(Scott Hanselman）为微软的高级项目经理翻译: .NET牛人应该知道些什么原作者: Scott Hanselman 原文译者: Tony Qu 原发布于: http://feed.yeeyan.com/articles/view/15070/50...</summary><published>2009-05-13T08:57:00Z</published><updated>2009-05-13T08:57:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/05/13/1456079.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/05/13/1456079.html"/><content type="text">写在前面的话 虽然一直知道有这篇文章，现在从事培训工作，虽然这篇文章2004年写的，但是觉得很有意义，收藏之。注：斯科特·汉塞尔曼(Scott Hanselman）为微软的高级项目经理翻译: .NET牛人应该知道些什么原作者: Scott Hanselman 原文译者: Tony Qu 原发布于: http://feed.yeeyan.com/articles/view/15070/50...</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/05/13/1455880.html</id><title type="text">C# Tips-浅拷贝和深拷贝(shallow copy VS deep copy )</title><summary type="text">  C#中有两种类型变量，一种 是值类型变量，一种是引用类型变量,对于值类型变量，深拷贝和前拷贝都是通过赋值操作符号(=)实现，其效果一致，将对象中的值类型的字段拷贝到新的对象中.这个很容易理解。本文重点讨论引用类型变量的拷贝机制和实现。</summary><published>2009-05-13T06:26:00Z</published><updated>2009-05-13T06:26:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/05/13/1455880.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/05/13/1455880.html"/><content type="text">  C#中有两种类型变量，一种 是值类型变量，一种是引用类型变量,对于值类型变量，深拷贝和前拷贝都是通过赋值操作符号(=)实现，其效果一致，将对象中的值类型的字段拷贝到新的对象中.这个很容易理解。本文重点讨论引用类型变量的拷贝机制和实现。</content></entry><entry><id>http://www.cnblogs.com/Roping/archive/2009/05/07/1451456.html</id><title type="text">C# Tips</title><summary type="text">本篇知识点涉及C#基础知识中值类型(Reverence Type)和引用类型()概念及区别，方法参数的修饰符out，ref，paras等一些基本概念，参考了《Illustrated C#》和 《Pro C# 2008 and the .NET 3.5 Platform》。另外做一个小调查，基于Asp.Net的知识体系实训如何规划？要讲什么知识点？</summary><published>2009-05-07T04:30:00Z</published><updated>2009-05-07T04:30:00Z</updated><author><name>宗哥</name><uri>http://www.cnblogs.com/Roping/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Roping/archive/2009/05/07/1451456.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Roping/archive/2009/05/07/1451456.html"/><content type="text">本篇知识点涉及C#基础知识中值类型(Reverence Type)和引用类型()概念及区别，方法参数的修饰符out，ref，paras等一些基本概念，参考了《Illustrated C#》和 《Pro C# 2008 and the .NET 3.5 Platform》。另外做一个小调查，基于Asp.Net的知识体系实训如何规划？要讲什么知识点？</content></entry></feed>
