上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 原文: 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 阅读全文
posted @ 2019-03-22 13:40 张玉昊 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 原文: 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 阅读全文
posted @ 2019-03-21 13:26 张玉昊 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 什么是委托。 委托是一种数据类型。 委托的作用。 把变化的东西封装起来。 委托是引用变量,声明后不赋值为null 所以使用前校验非空。 目前来看,委托没啥毛用,直接调用M1不就得了? 下面程序的作用是,传入一个字符串,把每个人名都加上* 但是现在需求变了,把每个人名都换成大写。 就需要改变代码。 而 阅读全文
posted @ 2019-03-20 20:02 张玉昊 阅读(697) 评论(5) 推荐(0) 编辑
摘要: 原文: 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 阅读全文
posted @ 2019-03-20 13:58 张玉昊 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 原文: 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 , 阅读全文
posted @ 2019-03-19 14:54 张玉昊 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 什么是正则表达式: 正则表达式是用来进行文本处理的技术,是语言无关的。 是由普通字符和特殊字符组成的文字模式,用来描述字符串的特征。 元字符: 1、 . : 除 \n 以外的任意的单个字符。 加\ 可以转义 a.b 表示 a b 之间可以有除了 \n 的任意字符。 2、 [ ] :取其中一个字符(必 阅读全文
posted @ 2019-03-18 21:30 张玉昊 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 原文: 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 阅读全文
posted @ 2019-03-18 13:53 张玉昊 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 作用: 使用泛型可以实现算法重用。 泛型约束: Myclass<T> where T : struct 必须值类型 / :class 必须引用类型 多个: Myclass<T,K,W,R,P> where T: struct where K :class where W : 接口 必须实现某个接口 阅读全文
posted @ 2019-03-17 21:13 张玉昊 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1、创建数据库:create database ***; 2、删除数据库:drop database ***; 3、创建数据库的时候设置一些参数选项。 创建可能会出现权限错误。 4、创建表的代码。 5、insert 语句。 insert into 表民(列1,列2) values(值1,值2) 自动 阅读全文
posted @ 2019-03-16 20:26 张玉昊 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 序列化介绍: 把对象用一种新的格式来表示。 系列化只序列化数据。 序列化不建议使用自动属性 为什么要序列化: 将一个复杂的对象转换流,方便存储与信息交换。 二进制序列化: 就是将对象变成流的过程,把对象变成byte[ ]。 反序列化: 练习:添加对象到array list中,进行序列化和反序列化。 阅读全文
posted @ 2019-03-16 15:40 张玉昊 阅读(883) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页