03 2019 档案
摘要:原文:Paris in the spring. A:Hello,Ken. B:Hi,George. A:Have you just been to the cinema? B:Yes,I have. A:What's on? B:' Paris in the spring ' . A:Oh, I h
阅读全文
摘要:原文:Going on holiday. A:Hello Sam, come in. B:Hi,Sam.We are having lunch. Do you want to have lunch with us? C:No,thak you Tom. I have already had lunc
阅读全文
摘要:原文: Roast beef and potatoes. A:Hi,Carol,where is Tom? B:He is upstairs.He is having a bath. Tom,Sam's here. C:I'm nearly ready. C:Hello,Sam. Have a ci
阅读全文
摘要:原文: Carol's shopping list. What are you doing Carol? I'm making a shopping list Tom. What do we need? We need a lot of things this week. I must go to
阅读全文
摘要:原文:terrible toothache. Good morning Mr.Croft. Good morning nurse. I want to see the dentist,please. Do you have an appointment? No ,I don't. Is it urg
阅读全文
摘要:什么是XML? XML:可扩展标记语言。 XML的作用: 纯文本,兼容性强。 和HTML的区别: xml: 主要用来处理、存储数据。无规定标签,可扩展。 html:对数据的显示和描述。 语法标签固定。 XML语法特点: 区分大小写。 只能有一个根节点。 标签成对出现。 属性用双引号。 没有预定标签,
阅读全文
摘要:原文: Uncomfortable Shoes。 Do you have any shoes like this? What size? Size five. What color? Black. I am sorry. We don't have any. But my sister bought
阅读全文
摘要:原文: The way to King Street。 Last week Mrs. Mills went to London. She does not know London very well,and she lost her way.And she lost her way. Suddenl
阅读全文
摘要:原文: He is awful。 A:What's Ron Marston like , Pauline? B:He is awful.He telephoned me four times yesterday,and three times the day before yesterday. B:
阅读全文
摘要:原文: The car race. There is a car race near our town every year. In 1995 ,there was a very big race. There were hundreds people there. My wife and I we
阅读全文
摘要:原文: The weekend. A:Hello , were you an tht butcher's? B:Yes I was. A:Were you at the butcher's too? C:No I wasn't. I was at the greengrocer‘s. A:How's
阅读全文
摘要:什么是委托。 委托是一种数据类型。 委托的作用。 把变化的东西封装起来。 委托是引用变量,声明后不赋值为null 所以使用前校验非空。 目前来看,委托没啥毛用,直接调用M1不就得了? 下面程序的作用是,传入一个字符串,把每个人名都加上* 但是现在需求变了,把每个人名都换成大写。 就需要改变代码。 而
阅读全文
摘要:原文: Not a baby. A:What are you going to do this evening Jill? B:I'm going to meet some friends, dad. A:You mustn't come home late. You must be home at
阅读全文
摘要:原文: Thank you docter. A:How's Jim today? B:Better, thank you docter. A:Can I see him ,please? B:Certainy docter, come upstairs. A:You look very well ,
阅读全文
摘要:什么是正则表达式: 正则表达式是用来进行文本处理的技术,是语言无关的。 是由普通字符和特殊字符组成的文字模式,用来描述字符串的特征。 元字符: 1、 . : 除 \n 以外的任意的单个字符。 加\ 可以转义 a.b 表示 a b 之间可以有除了 \n 的任意字符。 2、 [ ] :取其中一个字符(必
阅读全文
摘要:原文: A bad cold。 A:Where is Jim? B:He is in bed. A:What's the matter with him? B:He fells ill. A:He looks ill. B: We must call the docter. A:Yes,we mus
阅读全文
摘要:作用: 使用泛型可以实现算法重用。 泛型约束: Myclass<T> where T : struct 必须值类型 / :class 必须引用类型 多个: Myclass<T,K,W,R,P> where T: struct where K :class where W : 接口 必须实现某个接口
阅读全文
摘要:1、创建数据库:create database ***; 2、删除数据库:drop database ***; 3、创建数据库的时候设置一些参数选项。 创建可能会出现权限错误。 4、创建表的代码。 5、insert 语句。 insert into 表民(列1,列2) values(值1,值2) 自动
阅读全文
摘要:序列化介绍: 把对象用一种新的格式来表示。 系列化只序列化数据。 序列化不建议使用自动属性 为什么要序列化: 将一个复杂的对象转换流,方便存储与信息交换。 二进制序列化: 就是将对象变成流的过程,把对象变成byte[ ]。 反序列化: 练习:添加对象到array list中,进行序列化和反序列化。
阅读全文
摘要:原文: Is that all? A:I want some envelopes ,please? B:Do you want the large size or small size? A:The large size , please. B:Do you have any writing pap
阅读全文
摘要:文件操作常用相关类: File: 操作文件,静态类,对文件整体操作。 Directory:操作目录(文件夹),静态类。 FileInfo:文件类,用来描述一个文件对象,获取指定目录下的所有文件时,返回一个FileInfo数组。 DirectoryInfo:文件夹的一个类,描述一个文件夹对象,返回。。
阅读全文
摘要:原文: The Sawyer family. The Sawyers live at 87 King street. In the morning Mr.Sawyer goes to work and the children go to school. Their father takes the
阅读全文
摘要:装箱:值类型-->引用类型。 拆箱:引用类型-->值类型 装箱:把值类型拷贝一份到堆里。反之拆箱。 具有父子关系 是拆装箱的条件之一。 所以: 装的什么类型,拆的时候也必须是对应类型。 使用方法时看是否装拆箱:看需要的参数和传入的参数的集体类型。 使用泛型集合避免装拆箱。
阅读全文
摘要:原文: An interesting climate. A:where do you come from? B:I come from England. A:What's the climate like in your country? B:It's mild,but it's not alway
阅读全文
摘要:原文: A pleasant climate. A:Where do you come frome? B:I come from Greece. A:What's the climate like in your country? B:It's very pleasant. A:What's the
阅读全文
摘要:集合命名空间: using system.collections. 非泛型集合 using system.collections.Generic. 泛型集合 为什么要用集合: 1、数组一旦声明长度就固定了。 2、集合有很多方法可以用 等 常用集合: 类似数组集合:ArrayList List<> 键
阅读全文
摘要:原文: At the butcher's A:Do you want any meat today,Mrs.B? B:Yes,please. A:Do you want beef or lamb? B:Beef please. A:This lamb is very good. B:I like l
阅读全文
摘要:垃圾回收的目的:提高内存利用率。 垃圾回收器只回收托管堆中的内存。 垃圾回收是.net CLR 自动来执行的,一般不需要手动干预。 强制回收:GC.collect() 什么样的对象会被回收:没有变量引用的对象。 什么时间回收:不确定,当程序需要新内存时。 垃圾回收器中“代”的概念。
阅读全文
摘要:string类型不能被继承,它是密封类,sealed。 一、字符串的特性。 1、不可变性。 2、字符串池。 二、常用方法。 方法不一一写出来了。 tringbuilder的使用。 大量拼接字符串的时候用。效率比string高。使用:
阅读全文
摘要:原文: The boss's letter. A:Can you come here a minute please,Bob? B:Yes,sir. A:Where is C? B:She is next door. She is in her office sir. A:Can she type
阅读全文
摘要:原文: Hurry up! A:Can you make the tea,Sam? B:Yes,of course I can ,Penny. Is there any water in this kettle? A:Yes ,there is. B:Where is the tea? A:It's
阅读全文
摘要:第一次写这个主题的博客,刚看完演讲,但看的过程中忘了记录,所以这次简单介绍。 一、首先马化腾介绍了腾讯的发展史,从中得到:1、不管对伟大的公司都是一步步摸爬滚打过来的。2、马化腾刚开始是一个程序员,但是在做技术的基础上他也在看市场需求。3、应该对未来有一定的预见性,并顺势而为。 二、主持人提问环节:
阅读全文
摘要:原文: Penny's bag. A:Is that bag heavy,Penny? B:Not very. A:Here. Put it on this chair. What's in it? B:A piece of cheese. A loaf if bread. A bar of soa
阅读全文
摘要:原文: Don't drop it! A:What are you going to do with that vase,Penny? B:I am going to put it on the table,Sam. A:Don't do that .Give it to me. B:What ar
阅读全文
摘要:原文: Making a bookcase。 A:You are working hard,George. What are you doing . B:I am making a bookcase.Give me that hammer please,Dan. A:Which hammer? Th
阅读全文
摘要:原文: Our village . This is a photograph of our village. Our village is in a valley. It is between to hills. The village is on the river. Here is anothe
阅读全文
摘要:原文:A fine day. It is a fine day today. There are some clouds in the sky. But the sun is shining. Mr.Jones is with his family. They are walking over th
阅读全文
摘要:原文:Where is Sally? A:Where is .. B? B:She is in the garden,A. A:What's she doing? B:She is sitting under the tree. A:Is .. in the garden ,too? B:Yes ,
阅读全文
摘要:两个对象是否为同一个对象:是看两个对象是否指向堆中的同一块内存。 1、使用object.ReferenceEquals() 2.使用object.equals() 3、使用== 得到同样的结果。 目前来看,这三个方法都能判断两个对象是否为同一个对象。但是: 这两个s1,s2是两个不同的对象,因为ne
阅读全文
摘要:原文:Come in ,Amy. A:Come in B. Shut the door,please. This bedroom's very untidy. B:What must I do Mrs.A? A:Open the window and air the room. A:Then put
阅读全文
摘要:原文 :Mrs.smith's living room. Mrs.smith's living room is large. There is a television in the room. The television is near the window. There are some ma
阅读全文
摘要:一、params. 可变参数,无论有几个参数,必须出现在参数列表的最后,可以为可变参数直接传递一个对应类型的数组。 二、ref 引用传递 三、out out 参数在使用之前必须在方法里为out参数赋值。 out参数无法获取实参传来的值。所以在主函数 中,只需声明函数就行。它也是引用。 out一般用在
阅读全文
摘要:一、什么是异常? 程序运行时发生的错误。 二、异常处理的一般代码模式。 try{..可能发生异常的代码} catch{..对异常的处理} finally{...无论是否发生异常、是否捕获异常都会执行的代码}。 实例: 简单实例: try中某句代码异常后,后面的代码不会执行,直接跳转到catch fi
阅读全文
摘要:原文:Mrs.smith's kitchen. Mrs.smith's kitchen is small. There is a refrigerator in the kitchen. The refrigerator is white. It is on the right. There is
阅读全文
摘要:原文:Which book? A:Give me a book please,B. B:Which book? This one? A:No,not that one. The red one. B:This one? A:Yes,please. B:Here you are. A:Thank yo
阅读全文
摘要:显示实现接口的作用:解决方法重名问题。 下面例子中,Student类同时继承了两个接口,但两个接口有一个共同名称的方法(有不同的功能),实现接口时只能实现一个,想两个都实现就用显示实现接口。 显示实现接口: 显示接口没有访问修饰符,默认私有的,显示接口实现时是:接口名.方法名 因为显示实现接口默认是
阅读全文
摘要:原文:tired and thirsty。 A:What's the matter,children? B:We are tired and thirsty. A:Sit down,here. Are you all right now? B:No,we aren't. A:Look there i
阅读全文
摘要:原文:How do ;you do? A:Come and meet our employees,Mr.B. B:Thank you Mr.A. A:This is ...and this is .... . B:How do you do?. Those women are very hard-w
阅读全文
摘要:一、什么是接口? 接口就是一种规范协议,约定好遵守某种规范就可以写通用的代码。 定义了一组具有各种功能的方法(只是一种能力,没有具体实现,就像抽象方法一样,“光说不做”)。 理解:内存该做成什么样的:电压多少,插线多少,这是一种国际规范,是接口。而,内存这个东西具体生产出来了,就是实现接口。不管是什
阅读全文
摘要:原文:Your passports,please. A:Are you Swedish? B:No,we are not. We are Danish. A:Are your friends Danish too? B:No they aren't,they are Norwegian. A:You
阅读全文
摘要:原文:A new dress. A:What color's your new dress? B:It' green.Come upstairs and see it. A:Thank you. B:Look,here it is. A:That's a nice dress.It's very s
阅读全文
摘要:原文:Is this your shirt? A:Whose shirt is that? Is this your shirt B? B:NO,sir. It's not my shirt.This is my shirt ,my shirt is blue. A:Is this shirt C'
阅读全文
摘要:优化: Calculator calculator = GetComputeObject(Operate, Number1, Number2);
阅读全文
摘要:1、定义:指不同的对象收到相同的消息时,会产生不同的行为,同一个类在不同的场合下表现出不同的行为特征。 比如。 多态的作用:把不同的子类对象都当作父类来看,可以屏蔽不同子类对象之间的差异,写出通用的代码,作出通用的编程,以适应需求的不断变化。 2、实现多态。 虚方法实现方法重写来实现多态。 例子中,
阅读全文
摘要:原文:Are you a teacher? A:I am a new student ,my name is A. B:Nice to meet you,my name is B. A:Are you French? B:Yes I am,are you French too? A:No I am
阅读全文
摘要:原文: A:Good morning. B:Good morning,Mr.A. A:This is Miss C. C is a new student.She is Frech. C ,this is D,D is German. D:Nice to meet you. A:And this i
阅读全文

浙公网安备 33010602011771号