![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
蓝小星
这个作者很懒,什么都没留下…
展开
-
.NET Core 3.0项目迁移至.Net 5.0时遇到问题,CS1900 C# Warning level must be in the range 0-4
问题:CS1900 C# Warning level must be in the range 0-4 解决方法:右键项目---》管理nuget程序包--》搜索Microsoft.Net.Compilers 更新 注意:出现以上问题是项目语言版本不一致导致。原创 2021-06-28 15:14:40 · 343 阅读 · 0 评论 -
HTTP GET方法的Gzip压缩传输及获取时间戳
1. Gzip解压实现 2. 获取时间戳 TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0); string timestamp= Convert.ToInt64(ts.TotalMilliseconds).ToString(); ...原创 2018-09-19 16:41:41 · 1233 阅读 · 0 评论 -
C#图像处理
图像处理常用类 Bitmap只要用于处理由像素数据定义的图像的对象,主要方法和属性如下: GetPixel方法和SetPixel方法,获取和设置一个图像的指定像素的颜色。 PixelFormat属性,返回图像的像素格式。 Palette属性,获取或折纸图像所使用的颜色调色板。 Height属性和Width属性,返回图像的高...原创 2018-11-15 18:28:01 · 777 阅读 · 0 评论