摘要: 1、winform 播放语音 System.Media.SoundPlayer player = new System.Media.SoundPlayer(); player.SoundLocation = Application.StartupPath + "//请到此处报道.wav"; play 阅读全文
posted @ 2023-06-07 10:21 若白过隙 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1、一些常用的语句 git init # 初始化本地git仓库(创建新仓库)git config --global user.name "xxx" # 配置用户名git config --global user.email "xxx@xxx.com" # 配置邮件git config --globa 阅读全文
posted @ 2023-06-02 17:10 若白过隙 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1、需要在项目属性中开启生成xml启动项 2、添加辅助类XmlCommentHelper /// <summary> /// 注释辅助类 /// </summary> public class XmlCommentHelper { private static Regex RefTagPattern 阅读全文
posted @ 2023-01-29 11:09 若白过隙 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 笔试 1、谈谈你对三层架构的理解? 2、C#中的委托是什么?事件是不是一种委托?事件和委托的关系。 3、说出一些常用的类、接口,请各举5个 4、什么是sql注入?如何避免sql注入? 5、C#中类成员的访问修饰符有哪些?访问权限是什么样的? 6、Application 、Cookie和 Sessio 阅读全文
posted @ 2023-01-29 09:45 若白过隙 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1、string转double数组 var arr = num_str.Split(','); var new_arr = Array.ConvertAll<string, double>(arr, s => double.Parse(s)); 阅读全文
posted @ 2023-01-29 09:41 若白过隙 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1、多次输入,判断,调用接口,输出 Console.WriteLine("请输入需要进行测试的题目(1、2、3)"); var code = Console.ReadLine(); while (code != "") { switch (code) { case "0": Console.Writ 阅读全文
posted @ 2023-01-29 09:36 若白过隙 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1、连接报错:unkonwn mysql server "localhost" localhost需要连网才能连接,把localhost改为127.0.0.1就好了 2、加入中文乱码 show variables like '%chat%' 看下是不是utf8 找到my.ini [mysql] de 阅读全文
posted @ 2023-01-29 09:34 若白过隙 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1、StackExchange.Redis 用法汇总 https://www.jb51.net/article/230829.htm 阅读全文
posted @ 2022-12-29 10:24 若白过隙 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1、web推流 https://cloud.tencent.com/document/product/267/32720 https://cloud.tencent.com/document/product/267/56505 2、OBS推流 https://cloud.tencent.com/do 阅读全文
posted @ 2022-12-28 17:20 若白过隙 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 1、一些修改的方法去ueditor.all.js中找 2、修改行间距的实例如下 var ue = UE.getEditor('content', { zIndex: "0", initialFrameWidth: '100%', initialFrameHeight: 300 }); ue.read 阅读全文
posted @ 2022-12-12 10:07 若白过隙 阅读(29) 评论(0) 推荐(0) 编辑