随笔分类 -  C#

C#设计模式 ---- 总结汇总(转载)
摘要:转载地址:https://www.cnblogs.com/PatrickLiu/p/8287784.html 一、引言 C#版本的23种设计模式已经写完了,现在也到了一个该总结的时候了。说起设计模式,我的话就比较多了。刚开始写代码的时候,有需求就写代码来解决需求,如果有新的需求,或者需求变了,我就想 阅读全文

posted @ 2023-11-10 14:43 离线 阅读(891) 评论(0) 推荐(0)

生成文件MD5
摘要:public static class FileHelper { /// /// 获取文件MD5值 /// /// 文件绝对路径 /// MD5值 public static string GetFileMD5(string fileName) { ... 阅读全文

posted @ 2017-10-19 11:07 离线 阅读(1634) 评论(0) 推荐(0)

C# 邮件发送
摘要:用法: 阅读全文

posted @ 2017-10-19 10:45 离线 阅读(238) 评论(0) 推荐(0)

DES加密/解密类。
摘要:用法: string s = DESEncrypt.Encrypt("123456");//加密 s = DESEncrypt.Decrypt(s);//解密 阅读全文

posted @ 2017-10-19 10:41 离线 阅读(673) 评论(0) 推荐(0)

导航