摘要: The most impressed error that I found is an error in a famous App called 'echo',which is a popular music player,people can search the song they want t 阅读全文
posted @ 2016-03-03 16:15 marsh 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Time Manager GlossaryVersion 2.0Revision HistoryDateIssueDescriptionAuthor10/April/2015V1.0Initial CreationJieru Zhang22/May/2015V2.0Generation for re... 阅读全文
posted @ 2015-05-21 21:12 marsh 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 关于第二,三,四的四个实验,对于我这种新技能get很慢的人来说,写起来真的有点吃力。过两天就要交了,我也只是写完了WPF,应用商店和windowsphone都是进行到中间的数据库部分就卡在那里了。(关于我为什么不用sqlite,我只想说,按着网上和其他同学的教程走,到我这里总是缺少引用集,分明添加了... 阅读全文
posted @ 2015-05-16 01:44 marsh 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1.对文件和目录的访问①访问目录可以实例化DirectoryInfo来对特定的目录进行浏览与访问(注意权限限制),在敲书上的代码时,发现其中有一个变量 indentLevel要是按照书上初始化为-1时无法进行循环输出所访问的目录名及其修改时间,所以我把值初始为1。 1 static int dir... 阅读全文
posted @ 2015-05-06 21:47 marsh 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 1.属性和反射属性是对目标元素的相关数据的代表。同时C# 还具有一个反射系统,可用来检索用自定义属性定义的信息。(否则自定义属性没什么意义,不过老师说可以用一些软件来查看,比如书上说的:ILDasm)老师讲的比较快,听得不是很清楚,后来翻了翻书,看到“自定义属性”的内容,进行了尝试。这个例子是把程序... 阅读全文
posted @ 2015-05-01 09:14 marsh 阅读(251) 评论(1) 推荐(0) 编辑
摘要: 先把上次的delegates总结一下~1.delegatesdelegates将event与action或method关联起来。封装member function。相当于c++里的指针,但功能多于指针。结构为:delegate datatype methodname(object a,object ... 阅读全文
posted @ 2015-04-26 11:34 marsh 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1.regexRegex re = new Regex("abc");我的理解是:对“abc”这个字符进行代换或者判断...,即将“abc”当做关注点。关于正则表达式,有一些code较为常用。#1忽略大小写的功能RegexOptions.IgnoreCase 3 st... 阅读全文
posted @ 2015-04-17 10:32 marsh 阅读(241) 评论(1) 推荐(0) 编辑
摘要: 1.创建array &foreach语句1. public class Student2. {3. public Student(int stuID)4. {5. this.stuID = stuID;6.... 阅读全文
posted @ 2015-04-08 23:34 marsh 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 这次的博客记录的是写crc校验码的过程。过程十分坎坷,好不容易快整完了结果虚拟机崩了,程序也没了,只好重新来过。。。首先是控制台应用程序的代码。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 us... 阅读全文
posted @ 2015-04-06 15:02 marsh 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 课后进行了下面的练习:1.声明public 不声明参数是public,则main中无法访问。error:声明public后即可访问。2,passing by value or by referencepassing by value:method中可以改变数值,method外则不会改变。结果中数值未... 阅读全文
posted @ 2015-03-29 09:55 marsh 阅读(154) 评论(0) 推荐(0) 编辑