摘要: public class T { //private long p1,p2,p3,p4,p5,p6,p7; public long x = 0L;// 8bytes //private long p9, p10, p11, p12, p13, p14, p15; } public static T[ 阅读全文
posted @ 2021-09-26 23:45 vba是最好的语言 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1.定义基础类 public interface DBPeople { void Say(); } public class Child : DBPeople { public void Say() { Console.WriteLine("你好"); } } 2注册并添加拦截器 var build 阅读全文
posted @ 2021-09-26 23:12 vba是最好的语言 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 在一个程序里偶然用了System.IO.File.Create去创建文件,运行时一直报错(进程被占用),后来在网上找到了解决办法,引用了一下。 winfrom中操作文件: 判断是否有当前的文件存在,不存在则进行创建,在进行操作; if(!System.IO.File.Exists(fileName) 阅读全文
posted @ 2021-09-26 11:11 vba是最好的语言 阅读(123) 评论(0) 推荐(0) 编辑
摘要: C#des加密解密 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; using System.IO; us 阅读全文
posted @ 2021-09-26 10:51 vba是最好的语言 阅读(423) 评论(0) 推荐(0) 编辑