11 2022 档案

摘要:C# 集合 using System.Data; using System.Collections; //数组(Array) string[] arr = { "Hello", "World" }; int[] nums = { 1, 99, 2, 66, 15, 8 }; //哈希表(Hashta 阅读全文
posted @ 2022-11-26 18:50 microsoft-zhcn 阅读(81) 评论(0) 推荐(0) 编辑
摘要:[System.Runtime.InteropServices.DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reserved 阅读全文
posted @ 2022-11-12 17:51 microsoft-zhcn 阅读(118) 评论(0) 推荐(0) 编辑
摘要:MainWindow.xaml <Window x:Class="SevenZipTestWPF.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas 阅读全文
posted @ 2022-11-12 17:43 microsoft-zhcn 阅读(268) 评论(0) 推荐(0) 编辑
摘要://这里可以动态加载其他dll文件中的组件 Assembly assem = Assembly.LoadFile($"{Directory.GetCurrentDirectory()}\\{data.DllName}"); var onePage = assem.CreateInstance(dat 阅读全文
posted @ 2022-11-12 16:59 microsoft-zhcn 阅读(235) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //使用DllImport需导入命名空间 using System. 阅读全文
posted @ 2022-11-12 16:14 microsoft-zhcn 阅读(263) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.codenong.com/9732347/ C#中的循环赛事算法 https://qa.1r1g.com/sf/ask/90514091/ 阅读全文
posted @ 2022-11-10 14:43 microsoft-zhcn 阅读(3) 评论(0) 推荐(0) 编辑
摘要:参考 https://www.cnblogs.com/xianyuxihuamao/p/12849209.html https://www.cnblogs.com/akwkevin/p/14946496.html 一个Wpf控件库(Wpf客户端框架使用) Wpf登录验证方式(1)-滑动拼图的实现 h 阅读全文
posted @ 2022-11-10 14:21 microsoft-zhcn 阅读(128) 评论(0) 推荐(0) 编辑
摘要:Linq提供两种方法:方法语法(Lambda语法)、查询语法(Linq语法) https://blog.csdn.net/weixin_45756851/article/details/126163607https://www.nhooo.com/note/qa074s.htmlhttps://bl 阅读全文
posted @ 2022-11-01 11:05 microsoft-zhcn 阅读(164) 评论(0) 推荐(0) 编辑
摘要:创建型模式: 单例(Singleton)模式:某个类只能生成一个实例,该类提供了一个全局访问点供外部获取该实例,其拓展是有限多例模式。 原型(Prototype)模式:将一个对象作为原型,通过对其进行复制而克隆出多个和原型类似的新实例。 工厂方法(Factory Method)模式:定义一个用于创建 阅读全文
posted @ 2022-11-01 10:34 microsoft-zhcn 阅读(5201) 评论(0) 推荐(0) 编辑

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