10 2023 档案
摘要:Visual Studio 2022 支持使用正则表达式进行搜索和替换操作。在搜索框中,可以点击“正则表达式”按钮来启用正则表达式模式。下面是一些常用的正则表达式示例: 匹配数字:\d 匹配字母:[a-zA-Z] 匹配空格:\s 匹配任意字符:. 匹配一个或多个字符:+ 匹配零个或多个字符:* 匹配
阅读全文
摘要:https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/operators/switch-expression [DisplayName("空气质量指数颜色")] public string TvocColor => AQ
阅读全文
摘要:[C#] Console.WriteLine(" "); Console.WriteLine("First Name | Last Name | Age"); Console.WriteLine(" "); Console.WriteLine($"{"Bill",-10} | {"Gates",-1
阅读全文