11 2020 档案

摘要:官方文档:https://docs.microsoft.com/zh-cn/dotnet/standard/events/ 事件 class Program { public static void Main(string[] args) { Counter c = new Counter(new 阅读全文
posted @ 2020-11-20 10:10 超难微猫 阅读(124) 评论(0) 推荐(0) 编辑
摘要:参考: http://blog.leanote.com/post/zhangyue/%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8%E7%9A%84%E5%88%86%E9%A1%B5%E6%9F%A5%E8%AF%A2 源码:https://github.com/Xiew 阅读全文
posted @ 2020-11-17 10:53 超难微猫 阅读(308) 评论(0) 推荐(0) 编辑
摘要:登录: mysql -u root mysql -uroot -p 修改密码: UPDATE user SET Password = password ( 'new-password' ) WHERE User = 'root' ; flush privileges ; 阅读全文
posted @ 2020-11-11 23:03 超难微猫 阅读(79) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/wcrBlog/p/11690460.html public static void BeginCollection() { //var manualRestEventA = new ManualResetEvent(false); //Thre 阅读全文
posted @ 2020-11-06 17:43 超难微猫 阅读(110) 评论(0) 推荐(0) 编辑
摘要:IEnumerable static IEnumerable<int> CreateSimpleIterator() { yield return 10; for (int i = 0; i < 3; i++) { yield return i; ; } yield return 20; } pub 阅读全文
posted @ 2020-11-04 15:03 超难微猫 阅读(135) 评论(0) 推荐(0) 编辑
摘要:观察者模式(Observer Design Pattern) 订阅注册接收通知 控制反转(Inversion of Control,缩写为IoC) 介绍:是面向对象编程中的一种设计原则 作用:用来降低计算机代码之间的耦合度 常见方式为依赖注入(Dependency Injection,简称DI) 里 阅读全文
posted @ 2020-11-03 10:07 超难微猫 阅读(78) 评论(0) 推荐(0) 编辑
摘要:网上找了几个方法,但是运行之后会报错,提示要解析的字符串格式不正确。然后我猜想可能是传入的字符串 \u60a8\u4eca\u65e5\u5df2\u7b7e\u5230 中带"\"的原因,加了一行 strDecode=strDecode.Replace("\\",""); 把斜杠去掉,果然,解析成 阅读全文
posted @ 2020-11-02 10:34 超难微猫 阅读(2962) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示