Fork me on GitHub
摘要: 原课文 Aeroplanes are slowly driving me mad. I live near an airport and passing planes can be heard night and day. The airport was built years ago, but for some reason it could not be used then. Last ye... 阅读全文
posted @ 2013-03-10 20:32 IsaacZhang 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 类型转换CLR最重要的特性之一是安全性,在运行时,通过调用GetType(),总是知道一个对象的确切类型。CLR允许将一个对象转换为它的实际类型或者它的任何基类型。Eg: C#可直接将一个对象转换为它的任何基类,因为向基类转换被认为是一种安全的隐式转换。但是将对象向它的某个派生类转换时,C#要求必须显示转换,因为这种转换可能在运行时报错。类型伪装是去多安全漏洞的根源。在C#中还有is和as两种转换方式:is转换:is检查一个类型是否兼容于指定的类型,并返回一个Boolean值。(is操作符永远不会抛出异常,只会返回ture or false) 1: Object o = new Obje... 阅读全文
posted @ 2013-03-09 23:45 IsaacZhang 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 课文: Fishing is my favourite sport. I often fish for hours without catching anything. But this does not worry me. Some fishermen are unlucky. Instead of catching fish, they catch old boots and rubbish... 阅读全文
posted @ 2013-03-09 20:33 IsaacZhang 阅读(802) 评论(0) 推荐(0) 编辑
摘要: 本章内容要点所有类型都从System.Object派生类型转换命名空间和程序集运行时的相互联系所有类型都从System.Object派生“运行时”要求每个类型最终都要从System.Object类型派生。由于所有类型最终都从System.Object派生,所以可以保证每个类型的每个对象都有一组最基本的方法,具体如下:此外,从System.Object派生的类型能访问受保护的方法,如下图CLR要求所有对象都用new操作符来创建,Eg. NameClass isaac = new NameClass();以下为new所做的事情:计算所有需要的字节数从托管堆中分配指定类型需要的字节数,从而分配对象的 阅读全文
posted @ 2013-03-06 23:16 IsaacZhang 阅读(109) 评论(0) 推荐(0) 编辑
摘要: My aunt Jennifer is an actress. She must be at least thirty-five years old. In spite of this, she often appears on the stage as a young girl. Jennifer will have to take part in a new play soon. This t... 阅读全文
posted @ 2013-03-06 22:18 IsaacZhang 阅读(162) 评论(0) 推荐(0) 编辑
摘要: What was the polite request? If you park your car in the wrong place, a traffic policeman will soon find it. You will be very lucky if he lets you go without a ticket. However, this ... 阅读全文
posted @ 2013-03-05 21:01 IsaacZhang 阅读(266) 评论(0) 推荐(0) 编辑
摘要: CLR支持两种程序集:弱命名程序集(weakly named assembly)和强命名程序集(strongly named assembly).由于弱类型程序集总是私有部署的,所以当CLR在应用程序的基目录或者子目录中搜索程序集的文件时,只会使用程序集的名称(添加一个.dll或者.exe)。强类型程序集则是由一个文件名、一个版本号和一个语言文化(culture),除此之外,强命名程序集还使用发布者的私钥进行了签名。创建强类型步骤:使用Strong Name实用程序(SN.exe)来获取一个密钥。(这个程序与.NET Framework SDK和MS VS配套提供的。)Eg. SN –k My 阅读全文
posted @ 2013-03-04 22:52 IsaacZhang 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 课文链接:http://www.ebigear.com/res-27-7777700000358.html 笔记链接:http://bbs.ebigear.com/space-uid-3256188.html 课文: I was having dinner at a restaurant when Tony Steele came in. Tony worked in a la... 阅读全文
posted @ 2013-03-04 22:13 IsaacZhang 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 课文链接:http://www.ebigear.com/res-27-7777700000362.html 笔记链接:http://bbs.ebigear.com/space-uid-3256188.html 课文: The secretary told me that Mr. Harmsworth would see me. I felt very nervous when I went into his office. He did not look up from his desk when I entered. After I had sat down, he s... 阅读全文
posted @ 2013-03-03 21:52 IsaacZhang 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 今天加班回来晚了,由于明天周末还要去加班给客户部署系统,所以今天就只要学个英语了,明天争取把C#补上。课文链接:http://www.ebigear.com/res-1393-7777700044607.html 笔记链接:http://bbs.ebigear.com/space-uid-3256188.html 课文: The Greenwood Boys are a group of pop singers. At present, they are visiting all parts of the country. They will be arriving here to... 阅读全文
posted @ 2013-03-01 23:12 IsaacZhang 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 。元数据概述一个托管PE文件由4部分构成:PE32(+)头、CLR头、元数据以及IL。将模块合并到程序集exe文件不仅仅是一个含有元数据的PE文件,它还是一个程序集(assembly)。程序集是一个或者多个类型定义文件及资源文件的集合。CLR操作的是程序集。CLR总是首先加载包含“清单”元数据表的文件,再根据“清单”来获取程序集中的其他文件的名称。(清单是一组元数据表的集合)。程序集的特性:程序集定义了可重用的类型程序集标记了一个版本号程序集可以有关联的安全信息除了包含清单元数据表的那个文件,程序集的其他单独文件不包含上述特性。总之,程序集是进行重用、版本控制和应用安全性设置的一个基本单元,它 阅读全文
posted @ 2013-02-28 22:44 IsaacZhang 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 课文:I live in a very old town which is surrounded by beautiful woods. It is a famous beauty spot. On Sundays, hundreds of people come from the city to see our town and to walk through the woods. Visitors have been asked to keep the woods clean and tidy. Litter baskets have been placed under the trees 阅读全文
posted @ 2013-02-28 21:41 IsaacZhang 阅读(261) 评论(0) 推荐(0) 编辑
摘要: C# 从1.x 发展到目前的 4.5,委托的写法真是越来越简单精悍。如果您对这些委托的写法不是很清晰,本文可以帮助到您。委托是一种安全封装方法的类型,可以将方法作为方法的参数。委派方法的参数个数、顺序、类型及方法返回值类型必须跟定义的委托方法一样,但参数名称可以不同。1、C# 定义一个完整委托:delegate string SayMessage(string msg);static string SayHello(string Name){ return string.Format("Hello {0}", Name);}static void Main(string[] 阅读全文
posted @ 2013-02-28 14:21 IsaacZhang 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 由于在面试外企的时候,每次都被最后的口语交流所挡,终于下定决心恶补English,每天晚上有2-2.5h在学习它,所以只给自己暂定了每天晚上学1h的CLR这本书,估计东西更新会稍有点慢,但是希望能坚持每天晚上都有最少1h吧,这样,我觉得6个月左右也足够我搞清楚CLR via C#这本书了,至于精通,一点点来吧。内容详情:.Net Framework 部署目标将类型生成到模块中元数据讲述将模块合并成程序集程序集版本资源信息语言文化简单应用程序部署(私有部署的程序集)简单管理控制(配置)No1. .Net Framework 部署目标 MS WINDOWS的不稳定性和复杂,造成的口碑不佳,.... 阅读全文
posted @ 2013-02-27 23:01 IsaacZhang 阅读(170) 评论(0) 推荐(0) 编辑
摘要: excited adj 兴奋的exciting adj 使人兴奋的,刺激的An exciting book get on1.登上 (train, bus, plane) 骑上 (bike, horse) 反义词: get off Get in 上小汽车 反义词: get out of 2.应付,过日子Eg: I am afraid I didn’t get on very well in the exam.3.把… 穿上,盖上Get your coat on Get off 脱下,取下,拿开middle-aged 中年的 uglyuglier 比较级 ugliest最高级amu... 阅读全文
posted @ 2013-02-27 21:23 IsaacZhang 阅读(234) 评论(0) 推荐(0) 编辑
摘要: New words and expressions 生词和短语exciting adj. 令人兴奋的receive v. 接受,收到firm n. 商行,公司different adj. 不同的centre n. 中心abroad adv. 在国外I have just received a letter from my brother, Tim. He is in Australia. He has been there for six months. Tim is an engineer. He is working for a big firm and he has already vi 阅读全文
posted @ 2013-02-26 22:11 IsaacZhang 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 课文链接:http://www.ebigear.com/res-1393-7777700044604.html笔记链接:http://bbs.ebigear.com/space-uid-3256188.html 课文: We have an old musical instrument. It is called a clavichord. It was made in Germany in 1681. Our clavichord is kept in the living room. It has belonged to our family for a long time. The... 阅读全文
posted @ 2013-02-25 22:00 IsaacZhang 阅读(253) 评论(0) 推荐(1) 编辑
摘要: 一、课文:JULIE: Are you doing the football pools, Brain?BRIAN: Yes, I've nearly finished, Julie.Julie. I'm sure we'll win something this week.JULIE: You always say that,but we never win anything!What will you do if you win a lot of money?BRIAN: If I win a lot of money I'll buy you a mink 阅读全文
posted @ 2013-02-24 22:29 IsaacZhang 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 课文链接:英音:http://www.ebigear.com/res-86-7777700001716.html美音:http://www.ebigear.com/res-1392-7777700049539.html课文:REPORTER: Have you just made a new film, Miss Marsh?MISS MARSH: Yes, I have.REPORTER: Are you going to make another?MISS MARSH: No, I'm not.I'm going to retire. I feel very tired.I 阅读全文
posted @ 2013-02-22 23:08 IsaacZhang 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 记录一下吧 1 USE [NPU_Group] 2 GO 3 /****** Object: StoredProcedure [dbo].[Proc_HotAndFutrueKeywords] Script Date: 02/05/2013 10:02:26 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QUOTED_IDENTIFIER ON 7 GO 8 --================================================ 9 --ProcFunction:研究热点和趋势统计存储过程 10 -- Cr... 阅读全文
posted @ 2013-02-05 16:13 IsaacZhang 阅读(175) 评论(0) 推荐(0) 编辑