摘要: It doesn't really matter who you used to be,what matters is who you've become.过去的你是什么熊样不重要,重要的是现在的你是怎么个牛样。Life begins at the end of your comfort zone.真正的生活开始于走出安乐窝。How much truth of heart in one's life is told in a joke?一辈子,有多少真心话,是以玩笑的方式说了出去?Where there's no expectation,losing won&# 阅读全文
posted @ 2012-12-12 19:56 _YMW 阅读(381) 评论(0) 推荐(0)
摘要: /// <summary> /// 递归删除文件夹及包含的文件 /// </summary> /// <param name="dir">文件夹物理路径</param> private void DeleteFolder(string dir) { if (Directory.Exists(dir))//如果存在这个文件夹删除之 { foreach (string d in Directory.GetFileSystemEntries(dir)) { if (File.Exists(d)) { File.Delete(d);/ 阅读全文
posted @ 2012-12-12 19:52 _YMW 阅读(322) 评论(0) 推荐(0)
摘要: 1.首先需要一个集合用来测试://定义一个集合要用的类:public class People{ public People(string name, string sex, int age,decimal height) { this.Name = name; this.Sex = sex; this.Age = age; this.Height = height; } public string Name { get; set; } public string Sex { get; set; } public int Age { get; set; } public decimal Hei 阅读全文
posted @ 2012-12-12 19:41 _YMW 阅读(4402) 评论(1) 推荐(1)