会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Distance
努力成为更好的人!
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
28
下一页
2024年4月2日
C# Substring
摘要: Substring方法是C#中最常用的字符串截取方法之一。它通过指定起始位置和长度来截取字符串的一部分 string originalString = "Hello, World!"; string subString = originalString.Substring(7, 5); Consol
阅读全文
posted @ 2024-04-02 07:17 魏三斗
阅读(972)
评论(0)
推荐(0)
2024年3月29日
Mysql GROUP_CONCAT
摘要: GROUP_CONCAT :用于将指定组的多行中的非NULL值连接为一个值。此函数在提供逗号分隔列表的报告中特别有用。 1 GROUP_CONCAT(DISTINCT expression 2 [ORDER BY expression [ASC|DESC]] 3 [SEPARATOR str_val
阅读全文
posted @ 2024-03-29 07:25 魏三斗
阅读(41)
评论(0)
推荐(0)
2024年3月28日
C# Stopwatch
摘要: Stopwatch:提供一组方法和属性,可以准确的测量运行时间。使用的时候需要引用命名空间:System.Diagnostics。 1 //创建Stopwatch实例 2 Stopwatch sw = new Stopwatch(); 3 //开始计时 4 sw.Start(); 5 for (in
阅读全文
posted @ 2024-03-28 13:55 魏三斗
阅读(298)
评论(0)
推荐(0)
C# peek()的用法
摘要: peek是用来确定你read的文件是否结束了,如果结束了会返回int型 -1 ,
阅读全文
posted @ 2024-03-28 13:24 魏三斗
阅读(135)
评论(0)
推荐(0)
2024年1月19日
Pycharm 打开Terminal后终端闪退
摘要: Pycharm 打开Terminal后终端闪退的原因是终端路径不对 在Settings中找到Tools-->终端(Terminal)-->修改Shell Path
阅读全文
posted @ 2024-01-19 11:40 魏三斗
阅读(1077)
评论(0)
推荐(0)
2023年11月13日
Windows 查找Python安装目录
摘要: 查看Python安装目录的两种方式: 1. 在cmd中使用py-0p 显示安装的Python 版本和安装路径: 2. 在cmd中执行where Python
阅读全文
posted @ 2023-11-13 09:25 魏三斗
阅读(223)
评论(0)
推荐(0)
2022年12月13日
Powershell 压缩文件
摘要: 如何使用PowerShell压缩文件 它使用您要压缩的任何文件的路径(多个文件用逗号分隔),并将它们存档在您指定的目标位置。 Compress-Archive -LiteralPath <PathToFiles> -DestinationPath <PathToDestination> https:
阅读全文
posted @ 2022-12-13 17:48 魏三斗
阅读(205)
评论(0)
推荐(0)
2022年12月8日
PowerShell逻辑运算符
摘要: -and(逻辑与) -or(逻辑或) -xor(逻辑XOR) -not(逻辑非) ! (与逻辑非相同)
阅读全文
posted @ 2022-12-08 10:23 魏三斗
阅读(72)
评论(0)
推荐(0)
Powershell 包含字符串
摘要: 字符串包含的三种方法 Console.WriteLine("请输入第一个字符串"); string str1 = Console.ReadLine(); Console.WriteLine("请输入第二个这了符串"); string str2 = Console.ReadLine(); 第一种Con
阅读全文
posted @ 2022-12-08 10:22 魏三斗
阅读(872)
评论(0)
推荐(0)
2022年12月5日
当 MUST_CHANGE 为 ON 时,不能关闭 CHECK_POLICY 和 CHECK_EXPIRATION 选项。 (微软 SQL 服务器,错误:15128)
摘要: An exception occurred while executing a Transact-SQL statement or batch. The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_
阅读全文
posted @ 2022-12-05 11:30 魏三斗
阅读(887)
评论(0)
推荐(0)
1
2
3
4
5
···
28
下一页
公告