2023年7月27日

C# string.format格式说明

摘要: stringstr1 =string.Format("{0:N1}",56789); //result: 56,789.0 stringstr2 =string.Format("{0:N2}",56789); //result: 56,789.00 stringstr3 =string.Format 阅读全文

posted @ 2023-07-27 17:25 糯米白白 阅读(33) 评论(0) 推荐(0)

Excel表格中的行数和列数的最大是多少

摘要: Excel 2003版:zhi列数dao最大256(IV,2的8次方)列,行数最大65536(2的16次方)行; Excel 2007版:列数最大16384(XFD,2的14次方),行数最大1048576(2的20次方); Excel 2013版:列数最大16384(XFD,2的14次方),行数最大 阅读全文

posted @ 2023-07-27 17:06 糯米白白 阅读(1323) 评论(0) 推荐(0)

C# 删除文件下所有文件

摘要: 使用静态扩展方法 ``` public static void Empty(this System.IO.DirectoryInfo directory) { foreach(System.IO.FileInfo file in directory.GetFiles()) file.Delete() 阅读全文

posted @ 2023-07-27 17:03 糯米白白 阅读(22) 评论(0) 推荐(0)

VS 还原 NuGet 程序包时出错: 无法加载源 https://dotnet.myget.org/F/aspnetcore-dev/api/v3

摘要: 错误 还原 NuGet 程序包时出错: 无法加载源 https://dotnet.myget.org/F/aspnetcore-dev/api/v3 解决方法 在新源中添加地址: https://www.nuget.org/api/v2/ ![](https://img2023.cnblogs.co 阅读全文

posted @ 2023-07-27 17:01 糯米白白 阅读(74) 评论(0) 推荐(0)

导航