摘要: Visual Studio 2019 2022编辑器,在Windows电脑上,有时候从git仓库下载下来的代码打开UTF8文件的时候出现乱码,解决:设置-->文本编辑器-->设定:勾选 自动探测没有签名的UTF8编码 关于UTF8 BOM 请参考:https://en.wikipedia.org/w 阅读全文
posted @ 2024-03-07 11:06 Cyber9527 阅读(91) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var list = new List<Product>{ ne 阅读全文
posted @ 2024-02-05 17:27 Cyber9527 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var strL = new List<strin 阅读全文
posted @ 2024-01-11 17:29 Cyber9527 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 传送门 using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { // 先看看double类型 通过Math.Round取 阅读全文
posted @ 2023-11-27 21:35 Cyber9527 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var s = TimeSpan.FromHour 阅读全文
posted @ 2023-09-25 18:04 Cyber9527 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var list = new List<Emp> 阅读全文
posted @ 2023-09-20 23:07 Cyber9527 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #### 说明 CamelCase是许多编程语言中常见的一种命名风格。在Java中,方法和变量名通常以小写字母开头,所有后续单词以大写字母开头(例如:startThread)。类的名称遵循相同的模式,只是它们以大写字母开头(例如:BlueCar)。 编写一个程序,创建或拆分CamelCase变量、方 阅读全文
posted @ 2023-06-27 13:23 Cyber9527 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 报错端口xxxxx被占用,PID启动不了 管理员CMD输入: netsh http add iplisten ipaddress=:: 参考:https://programmingflow.com/2015/08/28/solved-iis-express-failed-to-register-ur 阅读全文
posted @ 2022-02-23 10:30 Cyber9527 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1. Vlookup VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]) =IFERROR(VLOOKUP(C6,$H$6:$H$120,1,FALSE),"New") 参数 说明 数据类型 lookup_value 要 阅读全文
posted @ 2021-03-12 14:35 Cyber9527 阅读(87) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 字符串转Unicode 直接Byte的方式,单字节操作 /// </summary> /// <param name="source">源字符串</param> /// <returns>Unicode编码后的字符串</returns> public static 阅读全文
posted @ 2021-01-20 18:42 Cyber9527 阅读(2610) 评论(0) 推荐(0) 编辑