摘要: lstPartDetailInfo.GetType().GetGenericArguments()[0] == typeof(PartDetailInfo_Sipe) 阅读全文
posted @ 2022-03-10 14:55 .代码如诗 阅读(380) 评论(0) 推荐(0)
摘要: 近期项目有个需求:小文件通过Base64字符串进行传输,目前网上的处理方法太过冗长,研究发现可以使用C#现有的基类进行缩减,现分享给大家: // 把文件转成 Base64Convert.ToBase64String(File.ReadAllBytes(picInfo.PicPath));// 把Ba 阅读全文
posted @ 2021-11-19 12:36 .代码如诗 阅读(4312) 评论(0) 推荐(2)