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